vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   4images Gallery 1.7 + vB 3.0.x (update Oct 30) (https://vborg.vbsupport.ru/showthread.php?t=66335)

Mr. Brian 05-12-2005 10:45 PM

I tried, I tried, I've been trying my best stay away from seeking from help. But however I've got no choice but still yet have to do so. Hope u don't mind.

Well, I'm sure that I did follow ur intruction without missing any step yet still getting database error.

Any clue?

mtha 05-13-2005 04:49 AM

Quote:

Originally Posted by Mr. Brian
I tried, I tried, I've been trying my best stay away from seeking from help. But however I've got no choice but still yet have to do so. Hope u don't mind.

Well, I'm sure that I did follow ur intruction without missing any step yet still getting database error.

Any clue?

what db error did you get?

Mr. Brian 05-13-2005 08:37 AM

Hi thanks for your reply well, here's what I get:-

Code:

DB Error: Bad SQL Query: SELECT template FROM template WHERE title='options'
Table 'xxx_xxx.template' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash, lastactivity, host, userid FROM session WHERE sessionhash = '988299e818dfd386990b236e63f9dee9' AND host = 'xxx.xxx.xx.xx'
Table 'xxx_xxx.session' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash FROM session
Table 'xxx_xxx.session' doesn't exist

DB Error: Bad SQL Query: SELECT u.*, l.* FROM user u, 4images_lightboxes l WHERE u.userid = 1 AND l.user_id = u.userid
Table 'xxx_xxx.user' doesn't exist

DB Error: Bad SQL Query: SELECT * FROM user WHERE userid = 3467
Table 'xxx_xxx.user' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash FROM session WHERE sessionhash = 'aaaaaaaaaaaaaaaa'
Table 'xxx_xxx.session' doesn't exist

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/forums/gallery/includes/db_mysql.php on line 164

DB Error: Bad SQL Query: INSERT INTO session (sessionhash, userid, host, useragent, lastactivity, location, styleid) VALUES ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 0, '203.120.68.68', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)', 1234567890, '/gallery/index.php', '20')
Table 'xxx_xxx.session' doesn't exist

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/forums/gallery/includes/db_mysql.php:188) in /home/soccera/public_html/forums/gallery/includes/sessions.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/forums/gallery/includes/db_mysql.php:188) in /home/xxx/public_html/forums/gallery/includes/sessions.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/forums/gallery/includes/db_mysql.php:188) in /home/xxx/public_html/forums/gallery/includes/sessions.php on line 110

DB Error: Bad SQL Query: SELECT s.userid, s.lastactivity, s.host, u.userid, u.usergroupid, u.username FROM session s LEFT JOIN user u ON (u.userid = s.userid) WHERE s.lastactivity >= 1115970821 ORDER BY u.userid ASC, s.host ASC
Table 'xxx_xxx.session' doesn't exist

DB Error: Bad SQL Query: SELECT DISTINCT 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.username FROM 4images_images i, 4images_categories c LEFT JOIN user u ON (u.userid = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY RAND()
Table 'xxx_xxx.user' doesn't exist

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.username FROM 4images_images i, 4images_categories c LEFT JOIN user u ON (u.userid = 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 3
Table ''xxx_xxx.user' doesn't exist

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/forums/gallery/includes/db_mysql.php on line 116

Thanks in advance. :)

Marco van Herwaarden 05-13-2005 08:41 AM

Looks to me like you are using a table prefix, but the script don't support it.

mtha 05-13-2005 12:18 PM

Quote:

Looks to me like you are using a table prefix, but the script don't support it.
the intergration does support prefix.

here's my answer:

Quote:

Originally Posted by Mr. Brian
Hi thanks for your reply well, here's what I get:-

Code:


Table 'xxx_xxx.template' doesn't exist
Table 'xxx_xxx.session' doesn't exist
Table 'xxx_xxx.user' doesn't exist

Thanks in advance. :)

You either did not config your forum prefix and/or did not install 4images and vbulletin in the same database.

If the first is the case, in constants.php, edit this line
define('VB_TABLE_PREFIX',''); // your vb tableprefix. vB default is blank

if the second is the case, then you need to install both of them in the SAME database.

BlackxRam 05-13-2005 11:33 PM

Yes I did upload and do the changes to the vbulletin files as well. I did put in my Liscense number as well, i just removed it in the file I gave you. I also removed the extra ; and it still has done nothing.

I have disabled all firewalls as well, still nothing.

BlackxRam 05-22-2005 07:45 AM

Anyone figure out anything?

Michaelb.dk 05-23-2005 09:13 PM

How can i include the original header and footer from my forum to the gallery?

Zombie 05-28-2005 01:30 AM

I got this hack working ok, but how do I set it so I do not have to validate every image that is uploaded??

Zombie 05-28-2005 11:57 PM

Guess this hack isn't supported


All times are GMT. The time now is 09:10 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.01439 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete