Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Changed Servers

Quote Reply
Changed Servers
Hello,

i changes servers an the forum does not run any longer.

I just copied the files from harddisk to harddisk.

The error log give me the following hints:

Can't call method "prepare" without a package or object reference at /home/www/w
eb25/html/cgi-bin/forum/admin/GT/SQL/Driver/MYSQL.pm line 36.
failed to open log file
fopen: Permission denied
[Sat May 29 12:49:07 2004] [error] [client 80.136.65.228] Premature end of scrip
t headers: /home/www/web25/html/cgi-bin/forum/admin/admin.cgi
failed to open log file
fopen: Permission denied
[Sat May 29 12:49:08 2004] [error] [client 80.136.65.228] Premature end of scrip
t headers: /home/www/web25/html/cgi-bin/forum/admin/admin.cgi

Please help.

Thanks a lot

Mark
Quote Reply
Re: [MarkBT] Changed Servers In reply to
Looks like your database settings are not setup/accepted. Try turning debug on, and seeing if you get any more details in the error messages.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Changed Servers In reply to
Hi Andy thanks for your answer.

what do you mean by debug mode?

I thought it might be a problem with the perl path because it has changed.

Is it possible to run the setup routine without destroing data?

Sincerly Yours Mark
Quote Reply
Re: [MarkBT] Changed Servers In reply to
Hi Mark,

Did you copy over the MySQL data as well? It sounds like it wasn't copied over, or possibly the database login information has changed.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [MarkBT] Changed Servers In reply to
try below:

1. connect to mysql by hand ,to check the gforum database have success connect ??

2. check /cgi-bin/gforum/admin/defs/database.def
check the database connect setting is change to new databases??

3. check system the module DBI and DBD::mysql work ok??

4. in command line run
perl admin.cgi
to see it work ok??

5. if you use new mysql server,
maybe use "mysql studio" function "database trans" to make all copy old database data to new mysql.

my MSN: perlchina_at_hotmail.com