| Author |
Message |
Fluke Hangin' Around

Joined: Oct 24, 2003 Posts: 32
|
Posted:
Fri Oct 24, 2003 10:24 pm |
|
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. is the site I am trying to put it on, this is where it resides right now working..
Your post was here...
Regards
Fluke |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Oct 24, 2003 10:33 pm |
|
Tried the site link and got this
Forbidden
You don't have permission to access / on this server. |
|
|
|
 |
Fluke Hangin' Around

Joined: Oct 24, 2003 Posts: 32
|
Posted:
Fri Oct 24, 2003 10:36 pm |
|
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 and 5025808. I'd really appreciate your experience, you seemed to have a firm hold of Nuke. My community is dying for this site.
Best Regards,
Tom aka Fluke |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Oct 25, 2003 2:21 pm |
|
Well, after discovering what was happening and going to bed at 2:00 am , I wake up to discover that your site is working . 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 Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Oct 25, 2003 3:28 pm |
|
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; |
|
|
|
|
 |
|
|
|
|