vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problem (https://vborg.vbsupport.ru/showthread.php?t=249911)

frenckomegl 09-04-2010 11:32 AM

Problem
 
Hello, I have a problem with my vbulletin, when I go to see the profile of a user I get this:

How can I fix?

--------------- Added [DATE]1283603619[/DATE] at [TIME]1283603619[/TIME] ---------------

The version I use and 3.8

BirdOPrey5 09-04-2010 12:06 PM

Your Database error is from VB 4.0.6 but you say you use 3.8- did you or someone try an upgrade because something's not right with the version number.

Also we'd need to see the whole error, if you can copy and paste the full text of the error message box.

frenckomegl 09-04-2010 04:30 PM

here:

Database error in vBulletin 4.0.6:

Invalid SQL:

SELECT album.*,
picture.pictureid, picture.extension, picture.idhash, album.moderation,
picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height

FROM my_album AS album
LEFT JOIN my_picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0)

WHERE album.userid = 1
AND album.state IN ('public', 'private', 'profile')


ORDER BY album.lastpicturedate DESC
LIMIT 2;

MySQL Error : Unknown column 'album.coverpictureid' in 'on clause'
Error Number : 1054
Request Date : Saturday, September 4th 2010 @ 06:50:40 PM
Error Date : Saturday, September 4th 2010 @ 06:50:40 PM
Script : http://habbofrizz.altervista.org/forum/member.php?u=1
Referrer : http://habbofrizz.altervista.org/forum/index.php
IP Address :
Username : ReFrenck
Classname : vB_Database
MySQL Version : 4.1.22-standard-log

borbole 09-04-2010 04:53 PM

Quote:

Originally Posted by frenckomegl (Post 2093745)
here:

Database error in vBulletin 4.0.6:

Invalid SQL:

SELECT album.*,
picture.pictureid, picture.extension, picture.idhash, album.moderation,
picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height

FROM my_album AS album
LEFT JOIN my_picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0)

WHERE album.userid = 1
AND album.state IN ('public', 'private', 'profile')


ORDER BY album.lastpicturedate DESC
LIMIT 2;

MySQL Error : Unknown column 'album.coverpictureid' in 'on clause'
Error Number : 1054
Request Date : Saturday, September 4th 2010 @ 06:50:40 PM
Error Date : Saturday, September 4th 2010 @ 06:50:40 PM
Script : http://habbofrizz.altervista.org/forum/member.php?u=1
Referrer : http://habbofrizz.altervista.org/forum/index.php
IP Address :
Username : ReFrenck
Classname : vB_Database
MySQL Version : 4.1.22-standard-log

As far as I know there is no coverpictureid in the album table. What was the latest change you did/undid to your board?

BirdOPrey5 09-04-2010 04:59 PM

It looks like someone attempted to upgrade to 4.0.6 but didn't upload all the files... your style is clearly 3.8 but your database is 4.0.6... I don't know what to tell you- you need to figure out what happened- who tried to upgrade and what did they do? Do you have a backup you could revert to? As a last resort option I would maybe try to upgrade, the right way, from the start- first by uploading all the 4.0.6 files over your old ones and then running upgrade.php (again). But I really don't even know where to start with something like this.


All times are GMT. The time now is 12:57 PM.

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.01116 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete