I am moving to a new server (host) and having a little problem.
Here's what I did.
- Tarred up the entire directory structure and ftpd it to the new host.
- used phpmysql to dump the database
- ftpd the resulting SQL script to the new host
- ran the script, created the new database and populated all the data.
- extracted the tar file into the new host's document root.
- edited the config.php to reflect changed database name.
All of the above went fine.
When I try to access the site, however, I get this:
Warning: pninit(language//global.php): failed to open stream: No such file or directory in /usr/home/pushback/public_html/includes/pnAPI.php on line 433
Warning: pninit(): Failed opening 'language//global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/pushback/public_html/includes/pnAPI.php on line 433
Warning: main(modules//index.php): failed to open stream: No such file or directory in /usr/home/pushback/public_html/index.php on line 127
Warning: main(): Failed opening 'modules//index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/pushback/public_html/index.php on line 127
all of the files mentioned in the messages above are there, thay also have 755 permissions.
Any help is appreciated!
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
Problem Migrating to new server
-
-
Actually, I just looked at this some more and noticed the double /, like so:
pninit(language//global.php)
In reality there should be an 'eng' there, represeting the language, like this:
pninit(language/eng/global.php)
Anyone know where this gets set? -
Ran into another variable that doesm't seem to be set.
Here's the error message.
Warning: main(modules//index.php): failed to open stream: No such file or directory in /usr/home/pushback/public_html/index.php on line 127
Warning: main(): Failed opening 'modules//index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/pushback/public_html/index.php on line 127
in the index.php, line 127 says:
include 'modules/' . pnVarPrepForOS($name) . '/' . pnVarPrepForOS($file) . '.php';
It looks like pnVarPrepForOS($name) is not set.
Anyone knwo where these vars get set? -
-
-
Actually, I installed the latest phpMyAdmin and re-expoerted the database. Upon importing it to the new host the problem went away. Tnanks to anyone who burnt cycles on this.
