4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
4images code on GitHub
Click here
to visit GitHub.
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Issues / Ausgaben
»
Discussion & Troubleshooting
(Moderator:
Acidgod
) »
Error db_mysql.php on line 116
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error db_mysql.php on line 116 (Read 5674 times)
0 Members and 1 Guest are viewing this topic.
shami74
Newbie
Posts: 49
Error db_mysql.php on line 116
«
on:
October 23, 2008, 05:33:57 AM »
Hi
I host a 4 - images that is coming up with this error.....
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM (4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3Got error -1 from storage engineWarning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/james444/domains/3moonsbuilders.com/public_html/tazworldpaints/4images/includes/db_mysql.php on line 116
the site is
http://3moonsbuilders.com/tazworldpaints/4images/index.php
can some one tell me what this means and what i do to fix it?
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Error db_mysql.php on line 116
«
Reply #1 on:
October 23, 2008, 07:08:29 AM »
Contact your server administrator, something wrong with MySQL database. maybe needs an update.
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
shami74
Newbie
Posts: 49
Re: Error db_mysql.php on line 116
«
Reply #2 on:
October 23, 2008, 09:18:12 AM »
thank you for the help will try that
Logged
shami74
Newbie
Posts: 49
Re: Error db_mysql.php on line 116
«
Reply #3 on:
October 23, 2008, 11:23:50 PM »
from what i can tell i got it to work
thank you again
Logged
V@nо
Addicted member
Posts: 1.223
Re: Error db_mysql.php on line 116
«
Reply #4 on:
October 24, 2008, 12:01:59 AM »
Care to share how?
in case someone else has same problem
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
If I asked you to PM me, I meant PM to my
primary account
, this account doesn't accept PMs.
shami74
Newbie
Posts: 49
Re: Error db_mysql.php on line 116
«
Reply #5 on:
October 27, 2008, 10:25:27 PM »
I would but not sure what he did ..
just knew when he did it, it worked
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Error db_mysql.php on line 116
«
Reply #6 on:
October 28, 2008, 12:18:23 AM »
a-ha, so as expected admin fixed it? that answer is good enough
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Issues / Ausgaben
»
Discussion & Troubleshooting
(Moderator:
Acidgod
) »
Error db_mysql.php on line 116