View Full Version : Images wont display when viewing articles, Need Help
complexs
04-17-2012, 08:04 PM
Hello everyone, I'm having issues with images not showing up when I look at specific articles. I would like to point out that everything was working perfectly fine until I removed spam from my blogs and users who were spamming my site. I have vBulletin Publisher Suite and my version is 4.1.7 but after this happened I'm thinking of upgrading to 4.1.12, but if anyone has any recommendations I would greatly appreciate it.
Image thumbnail is visible when looking at multiple articles
http://webdesignfaq.com/images/vbulletin-image-problem2.jpg
But when you pick a specific article the images do not show
http://webdesignfaq.com/images/vbulletin-image-problem.jpg
Like I said I never had this issue before until today. I modified no files or folders nor any settings in my control panel. All I did was remove all the spam in my blog/blogs and remove about 5 to 6 users who were spamming my site. Any advice would be greatly appreciated.
Lynne
04-17-2012, 09:44 PM
Can we get a link to see this? Have you tried editing the article and Saving to see if that fixes the issue? Have you looked at the page source to see where it is looking for the image? And is the image and attachment or an external image?
complexs
04-17-2012, 10:10 PM
ur-pc.com - is my site, click on home to see articles.
http://ur-pc.com/content.php?713-Facebook-focus-guides-Google-CEO-Page This is an example of one of my articles that do not work anymore in showing the images but it does show the thumbnail in the home page that see's a list of recent articles.
Has anyone every has their images work one day and the next not work at all?
Lynne
04-17-2012, 10:17 PM
It is looking for your image at http://ur-pc.com/attachment.php?attachmentid=852&d=1334086146
Do you see an attachment with that number in the database? If you edit the article, do you see the attachment listed under the Manage Attachments area? ARe you attachments stored in the filesystem or database?
complexs
04-18-2012, 05:35 AM
I'm not sure how to search for the attachment # in the database if you could tell me I'd appreciate it.
If I edit the articles I see no images at all expect the one that I recently uploaded today.
I don't know if my attachments are stored on the filesystem or database, could you tell me which one is better and how I find out?
Thanks
I would also like to add now even thumbnails do not work. So ALL my images are broken basically, except the one I uploaded right when I was noticing this was happening.
--------------- Added 1334731891 at 1334731891 ---------------
Okay sorry for the second post but I found out my attachments are being stored on my databased.
I also noticed I was playing around in the "vBulletin Blog" Section, within Update Counters.
Okay, I just received huge amounts of emails in regards to vbulletin database errors and I just checked and my website is down!!!
Here is the first and second vbulletin database error email:
Database error in vBulletin :
Cannot use database "my database name"
MySQL Error : Unknown database
"my database name"
Error Number :1049
Here is the third email:
Database error in vBulletin 4.1.7:
Invalid SQL:
UPDATE cache
SET locktime = 1334734313
WHERE cacheid =
'cms_priv.6f6fbe6ae9734175cef145747cbfd6c0';
MySQL Error : Incorrect key file for table "./mydatabasename@002dpc/cache.MYI'; try to repair it
Error Number : 126
Here is the fourth email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime,
serialized
FROM cache
WHERE cacheis =
'vbcms_item_1_data';
Here is another email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime,
serialized
FROM cache
WHERE cacheis = "vb_types.types':
I have tons of emails looking very similar to the last two emails above. I turned my domain names servers somewhere else since I assumed it was a MySQL injection or some sort of hack. I need help please.
Lynne
04-18-2012, 02:26 PM
You didn't supply the actually error for , or 5. For error 1/2, it says your database name is incorrect - have you modified the config.php file or been playing with the database on your server? For error 3, as it says, you need to repair that table. (Maintenance > Repair/Optimize Tables > select table > Continue).
complexs
04-18-2012, 06:26 PM
Email number 4: Error #145
Email number 5: Error #145
No, I have not played with the database only removed spam from my blogs I found out about. I will provide a more complete list of each error.
--------------- Added 1334780686 at 1334780686 ---------------
1st Email
Database error in vBulletin :
Cannot use database complexs_ur-pc
MySQL Error : Unknown database 'complexs_ur-pc'
Error Number : 1049
Request Date : Wednesday, April 18th 2012 @ 02:28:41 AM
Error Date : Wednesday, April 18th 2012 @ 02:28:41 AM
Script : http://ur-pc.com/http://ur-pc.com/login.php?do=login
Referrer : http://ur-pc.com/
IP Address : 98.24.195.165
Username :
Classname : vB_Database
MySQL Version :
2nd Email:
Database error in vBulletin :
Cannot use database complexs_ur-pc
MySQL Error : Unknown database 'complexs_ur-pc'
Error Number : 1049
Request Date : Wednesday, April 18th 2012 @ 02:29:42 AM
Error Date : Wednesday, April 18th 2012 @ 02:29:42 AM
Script : http://ur-pc.com/member.php?12139-Ingehegiano
Referrer : http://ur-pc.com/member.php?12139-Ingehegiano
IP Address : 46.17.96.14
Username :
Classname : vB_Database
MySQL Version :
3nd Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
UPDATE cache
SET locktime = 1334734313
WHERE cacheid = 'cms_priv.6f6fbe6ae9734175cef145747cbfd6c0';
MySQL Error : Incorrect key file for table './complexs_ur@002dpc/cache.MYI'; try to repair it
Error Number : 126
Request Date : Wednesday, April 18th 2012 @ 02:31:53 AM
Error Date : Wednesday, April 18th 2012 @ 02:31:53 AM
Script : http://ur-pc.com/index.php
Referrer : http://ur-pc.com/index.php
IP Address : 95.215.0.56
Username : Unregistered
Classname : vB_Database
MySQL Version :
4th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:33:00 AM
Error Date : Wednesday, April 18th 2012 @ 02:33:00 AM
Script : http://ur-pc.com/
Referrer : http://ur-pc.com/
IP Address : 175.42.84.121
Username : Unregistered
Classname : vB_Database
MySQL Version :
5th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'cms_priv.6f6fbe6ae9734175cef145747cbfd6c0';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:34:34 AM
Error Date : Wednesday, April 18th 2012 @ 02:34:34 AM
Script : http://www.ur-pc.com/blog.php?b=1620&goto=prev
Referrer :
IP Address : googlebot(at)googlebot.com
Username : Unregistered
Classname : vB_Database
MySQL Version :
6th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:35:55 AM
Error Date : Wednesday, April 18th 2012 @ 02:35:55 AM
Script : http://ur-pc.com/
Referrer : http://ur-pc.com/
IP Address : 120.37.209.88
Username : Unregistered
Classname : vB_Database
MySQL Version :
7th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:38:58 AM
Error Date : Wednesday, April 18th 2012 @ 02:38:58 AM
Script : http://ur-pc.com/index.php
Referrer : http://ur-pc.com/index.php
IP Address : 95.215.0.56
Username : Fevaoceange
Classname : vB_Database
MySQL Version :
8th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:42:29 AM
Error Date : Wednesday, April 18th 2012 @ 02:42:29 AM
Script : http://ur-pc.com/
Referrer : http://ur-pc.com/register.php?
IP Address : 199.15.234.25
Username : Unregistered
Classname : vB_Database
MySQL Version :
9th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:43:34 AM
Error Date : Wednesday, April 18th 2012 @ 02:43:34 AM
Script : http://ur-pc.com/
Referrer : http://ur-pc.com/
IP Address : 219.142.12.54
Username : Unregistered
Classname : vB_Database
MySQL Version :
10th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:45:19 AM
Error Date : Wednesday, April 18th 2012 @ 02:45:19 AM
Script : http://ur-pc.com/
Referrer : http://ur-pc.com/forum.php
IP Address : 74.100.49.48
Username : complexs
Classname : vB_Database
MySQL Version : 5.5.21-55
11th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:46:41 AM
Error Date : Wednesday, April 18th 2012 @ 02:46:41 AM
Script : http://www.ur-pc.com/showthread.php?701-Article-iPad-3-could-make-Apple-the-world-s-top-PC-vendor-next-year
Referrer :
IP Address : 180.76.5.58
Username : Unregistered
Classname : vB_Database
MySQL Version :
12th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:49:08 AM
Error Date : Wednesday, April 18th 2012 @ 02:49:08 AM
Script : http://ur-pc.com/
Referrer : http://ur-pc.com/
IP Address : 112.111.186.11
Username : Unregistered
Classname : vB_Database
MySQL Version :
13th Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_1_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:50:45 AM
Error Date : Wednesday, April 18th 2012 @ 02:50:45 AM
Script : http://ur-pc.com/index.php
Referrer : http://ur-pc.com/index.php
IP Address : 95.215.0.56
Username : Unregistered
Classname : vB_Database
MySQL Version :
14th and last Email:
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vbcms_item_2_data';
MySQL Error : Table './complexs_ur@002dpc/cache' is marked as crashed and should be repaired
Error Number : 145
Request Date : Wednesday, April 18th 2012 @ 02:54:11 AM
Error Date : Wednesday, April 18th 2012 @ 02:54:11 AM
Script : http://ur-pc.com/list.php?category/68-Web-2.0&page=2
Referrer :
IP Address : googlebot(at)googlebot.com
Username : Unregistered
Classname : vB_Database
MySQL Version :
Lynne, I do appreciate all the help your giving me. Thanks
Lynne
04-18-2012, 11:34 PM
Your cache table is crashed. Go to your phpMyAdmin (or whatever you use to access the database) and select the cache table and do a repair on it. You may need to do this a couple of times until it says the table is OK.
complexs
04-19-2012, 10:12 PM
Lynne thank you so much for your help. Everything works perfect now. It looks like repairing the database was all that needed to be done. Thanks again
--------------- Added 1334950919 at 1334950919 ---------------
I thought it everything was fine but I'm having issues again.
1st issue, Right before my site went down again it was not showing images but saying attachment and some number after it. It's obvious the number was the image attachment number. This is what is says when clicking on the link the attachment # has:
Invalid Attachment specified. If you followed a valid link, please notify the administrator
Is there a way to fix the images in the database?
I Need some help, please.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.