Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
I made a backup from my running database and imported it using PHPmyAdmin into my testforum. My testforum is using IIP5.3.1, my running site is not.

I get the following error now in my testforum:

[]SQL ERROR: Database error only visible to forum administrators

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site15/fst/var/www/html/test/forum/mysql.inc.php on line 131
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site15/fst/var/www/html/test/forum/mysql.inc.php on line 131[/].

I know the database needs to be altered for using IIP, but because I cannot loggin now, I don't know which SQL command to use. And hopefully this is the only change I should make.

My running database is 6.2.2 and the testdatabase 6.3, so I did run altertable-6.2-6.3.php.

Please help me

Pasquale

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Hmmm... check the MySQL error logs for clues. That error is hiding the real error and doesn't give anything to go on.

Joined: Apr 2003
Posts: 31
User
User
Offline
Joined: Apr 2003
Posts: 31
Ooo! I see this all the time @ phpBB!

Most likely you are running MySQL 3 and you selecte MySQL 4 when installing.

Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
MySQL 3 is forward compatible to MySQL 4.

Pasqualist, open mysql.inc.php and edit line 209 from

if ($u_status == 'Administrator'

to

if ($u_status != 'Administrator'

That will let the error become visible to you. You're making the error visible to anyone but an admin because at this point you can't log in as an admin to see them.



Picture perfect penmanship here.
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Useful tip that Navaho - had a similar problem myself the other day, when uploading to my test forum.

Pasqualist - what version of IIP are you running on your running site?


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: May 2003
Posts: 5
Newbie
Newbie
Offline
Joined: May 2003
Posts: 5
This thread is like 10 days old.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)