Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2012, 08:04 PM
complexs complexs is offline
 
Join Date: Apr 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Images wont display when viewing articles, Need Help

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


But when you pick a specific article the images do not show



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.
Reply With Quote
  #2  
Old 04-17-2012, 09:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 04-17-2012, 10:10 PM
complexs complexs is offline
 
Join Date: Apr 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ur-pc.com - is my site, click on home to see articles.

http://ur-pc.com/content.php?713-Fac...oogle-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?
Reply With Quote
  #4  
Old 04-17-2012, 10:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is looking for your image at http://ur-pc.com/attachment.php?atta...2&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?
Reply With Quote
  #5  
Old 04-18-2012, 05:35 AM
complexs complexs is offline
 
Join Date: Apr 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1334731891[/DATE] at [TIME]1334731891[/TIME] ---------------

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.
Reply With Quote
  #6  
Old 04-18-2012, 02:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #7  
Old 04-18-2012, 06:26 PM
complexs complexs is offline
 
Join Date: Apr 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1334780686[/DATE] at [TIME]1334780686[/TIME] ---------------

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?...ndor-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
Reply With Quote
  #8  
Old 04-18-2012, 11:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 04-19-2012, 10:12 PM
complexs complexs is offline
 
Join Date: Apr 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1334950919[/DATE] at [TIME]1334950919[/TIME] ---------------

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:

Quote:
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04241 seconds
  • Memory Usage 2,264KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete