PDA

View Full Version : Getting errors after moving to apache


xTerMn8R
12-21-2007, 06:17 PM
Hi Everyone...
We just migrated out site form a Pilot system that was running on a local Windows IIS server to a commercial server running unix of some flavor. My CMPS page loads Ok but when users goto our forum home page they receive the following error at the top of the screen.

"Warning: Invalid argument supplied for foreach() in /index.php(63) : eval()'d code(3) : eval()'d code on line 14

Anyone got any Idea what could be causing it, and how I can fix it? this system ran beautiful on Windows and required very little maintaince, which has not been the case since this move to an Apache Server.

ALSO How do set a HOME page in apache? The only way I could figure out wa to do a re-direct is that how its done?

Not to happy so far with this change, drowning fast, some one please send me a life line ASAP...

Thanks all
Tom

toonysnn
12-21-2007, 08:43 PM
In Apache, to set index: Make a file named ".htaccess" and input this:
DirectoryIndex homepagename.here

For the warning, have you tried reuploading your vBulletin default files? (Excluding images)

xTerMn8R
12-21-2007, 10:13 PM
thx so much for the quick responce to my cry for help.... Yeah there ya go Now I remember that .htaccess thing from a long time back when I tried a linux system. OK that should be a better fix then a redirect... thats goes in the root of the web? ie. /home/isrl/public_html/.htaccess (public_html is my web root)

and Yes I did load the default vb installation files to do the load on the new server, and it did display fine then. Then I uploaded all the files from the Pilot and dumped them over the default installation and imported Pilot db sucessfully into the NEW db and thats when My warning messages started. Once I go into a thread they disappear. the only hack I have on the forum Home is VBShout. and that displays fine as a Center module in CMPS but everything is stretched out in forum Home. Wierd... It all displays fine in Windows...

Here's my url if ya'd care to have a look

http://www.isrl-simracing.org

Thanks again for all ur help..
Tom

Marco van Herwaarden
12-23-2007, 06:13 AM
I don't see an error on your board at this time.

The original error indicated a problem with a plugin on the 'forumhome_start' hook location.

PS To avoid problems with out Piracy Department, please update your license with the current URL you are using for your board.