Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
Fluke
Hangin' Around



Joined: Oct 24, 2003
Posts: 32

PostPosted: Fri Oct 24, 2003 10:24 pm Reply with quote

Hi I'm trying to get this PHPNuke 6.9 working on a unix host i guess. It was all working perfectly here on windows xp.. since transfering it i get that error. I've seen lots of posts on it and either the solution of relocating the module or something seems very hard to do. I'm desperate to get this site up and this problem is holding it up. I can see the site but I can't sign in or anything... maybe its my hosts settings or something. Again, I read lots of posts... havent seen a definite solution. I am currently reuploading it now, will be a few mins

Raven I saw your post elswhere and it seemed you helped em out but never followed up perhaps on what the solution was. Again.. I really need this to work. Your help is greatly appreciated. [ Only registered users can see links on this board! Get registered or login! ] is the site I am trying to put it on, this is where it resides right now working.. [ Only registered users can see links on this board! Get registered or login! ]

Your post was here... [ Only registered users can see links on this board! Get registered or login! ]

Regards
Fluke
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Oct 24, 2003 10:33 pm Reply with quote

Tried the site link and got this

Forbidden
You don't have permission to access / on this server.
 
View user's profile Send private message
Fluke







PostPosted: Fri Oct 24, 2003 10:36 pm Reply with quote

ya, it's uploading again in a lame attempt to think it was simply a files permission error. But I know it isn't from what I have read online. My MSN and ICQ are [ Only registered users can see links on this board! Get registered or login! ] and 5025808. I'd really appreciate your experience, you seemed to have a firm hold of Nuke. Smile My community is dying for this site.

Best Regards,
Tom aka Fluke
 
Raven







PostPosted: Sat Oct 25, 2003 2:21 pm Reply with quote

Well, after discovering what was happening and going to bed at 2:00 am Rolling Eyes, I wake up to discover that your site is working Smile. It looks like you ftp'd all new files up. What did you end up doing? Just replacing files or did you need to change the php setup?
 
Raven







PostPosted: Sat Oct 25, 2003 3:28 pm Reply with quote

Closure (sort of):

His site/host is running bleeding edge PHP5 and I suspected right from the getgo that that was the problem since global arrays weren't working. Fluke confirmed with his host the problem and they supplied the PHP5 code to work around it. I post it here for posterity. Hopefully this will not be required of all scripts for backward compatability!
Code:
foreach($_GET as $var => $value) $$var = $value; 

foreach($_POST as $var => $value) $$var = $value;
foreach($_COOKIE as $var => $value) $$var = $value;
foreach($_SESSION as $var => $value) $$var = $value;
foreach($_SERVER as $var => $value) $$var = $value;
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©