Help - Search - Members - Calendar
Full Version: Manually setting up phpnuke working?
The Planet Forums > Control Panels > cPanel/WHM
Ansolon
According to RS, the easiest way to solve my php scripts not working problem is giving full path to include="...". I dont understand why I have to modify all php scripts source like phpnuke gallery etc. Has anybody had manually setup phpnuke working?

and If it is why mine isnt Do u know?
davidfells
To restate a key point in my other response, use the ini_set() function to accomplish this.

ini_set('include_path', 'full/path/to/phpnuke/');

put that at the start of the index.php file (and any others) in phpnuke that have include statements.
Ansolon
first of all thanks for help....
But this problem is not just related with phpnuke.

Alll manually installed php scripts gives error
On the other hand automatic php scripts installation from Cpanel, is working.

I am also using Reseller Cpanel package that there isnt error like this.

In all Cpanel Rackshack Servers givs same error?

And can you please explain your way step by step.


But I think there should be other resolution.
TheVoice
make sure you are uploading the php files in binary mode and are chmoding them correctly.
saver0
I think im also having the same problem icon_sad.gif

When i go to my phpnuke directory it says:
Fatal error: main() [function.main]: Failed opening required 'mainfile.php' (include_path='/usr/local/cpanel/3rdparty/lib/php/') in /home/xxxx/public_html/nuke/modules/News/index.php on line 20

Whenever there is a include.... it doesn't work.

I also installed the shopping cart thing and it didn't work same type of error.


I installed other php scripts such as phpbb and vbulletin, advnaced guestbook and they all worked fine.

Any help would be great.

Thanks
Ansolon
http://forums.rackshack.net/showthread.php...&threadid=25864


ý think it will solve your problem too:)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.