|
Error at upgrade
|
|
12-03-2008, 08:22 PM
Post: #1
|
|||
|
|||
|
Error at upgrade
I'm getting this error when trying to upgrade from patch 2
![]() Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/user/public_html/tht/install/index.php on line 111 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/user/public_html/tht/install/index.php on line 112 Your current version doesn't match the required upgrade version. Please upgrade to every version, you can't jump versions. |
|||
|
12-03-2008, 10:17 PM
Post: #2
|
|||
|
|||
|
RE: Error at upgrade
That's because your conf file was deleted (overwritten).
Kevin Mark - TheHostingTool Lead Developer |
|||
|
12-03-2008, 10:28 PM
Post: #3
|
|||
|
|||
|
RE: Error at upgrade
But in no place said anything about it!
|
|||
|
12-03-2008, 10:56 PM
Post: #4
|
|||
|
|||
|
RE: Error at upgrade
I know. I had the same problem. Here is how to fix it.
In your now empty conf file put this: PHP Code: <?Change your details to yours. It should work after this!
Kevin Mark - TheHostingTool Lead Developer |
|||
|
12-04-2008, 12:31 AM
Post: #5
|
|||
|
|||
|
RE: Error at upgrade
That seemed to work, thanks a lot
|
|||
|
12-04-2008, 09:10 AM
Post: #6
|
|||
|
|||
|
RE: Error at upgrade
It wiped your conf? Oh ok. Why did it work with mine? You know you shoudl CHMOD your config back right? Leaving it at 777 will leave it open to some nasty hacks.
Jonny H - THT Main Developer & Founder |
|||
|
12-04-2008, 04:57 PM
Post: #7
|
|||
|
|||
RE: Error at upgrade
(12-04-2008 12:31 AM)Erizo Wrote: That seemed to work, thanks a lot No problem. ![]() (12-04-2008 09:10 AM)Jonny Wrote: It wiped your conf? Oh ok. Why did it work with mine? You know you shoudl CHMOD your config back right? Leaving it at 777 will leave it open to some nasty hacks. Well the manual doesn't say to CHMOD it back to 644 or whatever. Some programs require to have your conf file writable by php.
Kevin Mark - TheHostingTool Lead Developer |
|||
|
12-04-2008, 04:58 PM
Post: #8
|
|||
|
|||
|
RE: Error at upgrade
But i didn't had it at 777 o.o
|
|||
|
12-04-2008, 04:59 PM
Post: #9
|
|||
|
|||
|
RE: Error at upgrade
Did you have it at 644?
Kevin Mark - TheHostingTool Lead Developer |
|||
|
12-04-2008, 04:59 PM
Post: #10
|
|||
|
|||
|
RE: Error at upgrade
Hmmm, you do know the conf.inc.php will get wiped when you upload all the includes folder? I updated the upgrade doc to make it clear.
Jonny H - THT Main Developer & Founder |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread:




![[Image: standard.png]](http://twitstamp.com/kmark937/standard.png)
![[Image: standard.png]](http://twitstamp.com/thehostingtool/standard.png)


Some programs require to have your conf file writable by php.