|
Re: importing data after server move [message #11064 is a reply to message #11063] |
Tue, 17 June 2003 14:39 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You clearly have not done what I said, because I asked you to check if the fsize field had values >0. You never replies on whether it did or not, so I have no idea what's going on.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: importing data after server move [message #11075 is a reply to message #11074] |
Tue, 17 June 2003 15:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
no, I mean the file getfile.php you can find it inside
/var/www/www.mercedesbenzclub.nl/forum/theme/default/ (most likely)
FUDforum Core Developer
|
|
|
|
|
|
Re: importing data after server move [message #11081 is a reply to message #11080] |
Tue, 17 June 2003 17:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The bottom line is this according to the error message the file attachments are being looked for inside:
/usr/local/httpd/htdocs/www.mercedesbenzclub.nl/forum/files/
If they are not there you'll keep getting the error you are seeing.
FUDforum Core Developer
|
|
|
|
|
|
Re: importing data after server move [message #11089 is a reply to message #11088] |
Tue, 17 June 2003 17:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Then you need to make sure the location inside the database is correct by running the following query:
UPDATE fud23_attach SET location=REPLACE('/usr/local/httpd/htdocs/www.mercedesbenzclub.nl/forum/files/','/var/www/www.mercedesbenzclub.nl/forum/files/', location);
FUDforum Core Developer
|
|
|
|
|
|
Re: importing data after server move [message #11101 is a reply to message #11099] |
Tue, 17 June 2003 19:07 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
That's not strange, because the new files get placed in the new directory and the forum knows to look for them there.
FUDforum Core Developer
|
|
|
|
Re: importing data after server move [message #11165 is a reply to message #11158] |
Thu, 19 June 2003 23:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Send me the relavent info and I'll try to take a look.
The problem is that the easiest solution (upgrade script) unfortunately does not appear to be an option due to your limited script execution window :/
FUDforum Core Developer
|
|
|
Re: importing data after server move [message #11178 is a reply to message #11165] |
Fri, 20 June 2003 22:39 |
gserban
Messages: 26 Registered: June 2003
Karma: 0
|
Junior Member |
|
|
hello prtoss forum is running again but we have a new problem
/var/www/www.ece.onthanet.nl# ps auxw | grep mysql | wc -l
105
it is not killing te users who left the forum and is eating all the sql conections
we changed to local host in glabal settings but then it gives error
Warning: User gregor@localhost has already more than 'max_user_connections' active connections in /var/www/www.mercedesbenzclub.nl/forum/index.php on line 64
[Updated on: Fri, 20 June 2003 22:41] Report message to a moderator
|
|
|
|
|
|
|
|
Re: importing data after server move [message #11189 is a reply to message #11185] |
Fri, 20 June 2003 23:18 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmm weird indeed, by the termination of the request PHP is supposed to close any open nonresistant connections. The fact it does not implies a bug in PHP. On my servers in addition to avoiding using persistent connections (the fact you see different connect string my be the result of other users using persistent connections) I also set mysql timeout to something like 2 minutes. Meaning that if no data is sent by php with 120 seconds of the last communication MySQL will drop the connection itself.
FUDforum Core Developer
|
|
|
Re: importing data after server move [message #11190 is a reply to message #8920] |
Fri, 20 June 2003 23:25 |
gserban
Messages: 26 Registered: June 2003
Karma: 0
|
Junior Member |
|
|
Hmm yes but timeouting is going to give problems with other software (my own.. using singleton patterns to keep concurrency..)
I will try to dig into it.. it is hard to find the problem here, I will notify you if I will.
Regards
|
|
|