admin(Mark) wrote: hi, I do not have smarty template system installed but I will try to help you. Try this: Open the pn-server.php and on line 8 change
to:
Next scroll down the bottom of that file and change the following: http://www.westernstudios.net/pastebin/index.php?show=75 to: http://www.westernstudios.net/pastebin/index.php?show=76 Next open pn_server_c.html and under {/literal} add {mytheme} Posted: Thu Oct 26, 2006 7:22 pm
ShotoKan wrote: I did the changes you sent and i am getting the following error: Fatal error: Call to undefined function: get_theme() in /home/jn00bfes/public_html/v2stats/pn-server.php on line 17 I think this error is happening because my nuke site is located at /home/jn00bfes/public_html/v3 and this pn-server.php is running at /home/jn00bfes/public_html/v2stats so is probably not finding the get_theme() function How could i solve that? Should i move the /v2stats inside my nuke main folder or is there a way to make it find the get_theme() function? Posted: Fri Oct 27, 2006 7:53 am
admin(Mark) wrote: try this instead, move the pn-server.php file to root folder where your mainfile.php and config.php are located. Next open the pn-server.php file and just above these codes
add:
Next you will need to edit your block to link to the pn-server.php. Change the link
to:
Posted: Fri Oct 27, 2006 8:05 am
ShotoKan wrote: Ok. What i did was to add the require_once "mainfile.php"; like you said inside the pn_server.php pointing to the right place where the file is but did not move the file to the roor directory. So i did this require_once "/v3/mainfile.php"; The error now is gone but it shows only a blank page. I cant move it to the root because then it will give me other errors on the includes files. I think we are getting there. Posted: Mon Oct 30, 2006 4:26 pm
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||