vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Module CMPS: PhotoPost vBGallery (https://vborg.vbsupport.ru/showthread.php?t=98982)

techenigma 12-07-2006 03:32 AM

I get the following error when I tried to install this:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT imageid, images.title, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title, images.description, images.dateline ,filesize, originalfilesize ,width, height, originalwidth, originalheight, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM adv_gallery_images AS images

WHERE valid = 1
AND images.catid IN (2)

ORDER BY RAND()
LIMIT 4;

MySQL Error : Table '***********.adv_gallery_images' doesn't exist
Error Number : 1146
Date : Thursday, December 7th 2006 @ 12:30:42 AM
Script : http://********/index2.php
Referrer :
IP Address : ***********
Username : ***********
Classname : vb_database

what on earth is causing that, the forums work, and my gallery works just the CMPS shows up as a big database error screen.

Zachariah 12-07-2006 11:59 AM

Quote:

Originally Posted by techenigma (Post 1133630)
I get the following error when I tried to install this:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT imageid, images.title, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title, images.description, images.dateline ,filesize, originalfilesize ,width, height, originalwidth, originalheight, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM adv_gallery_images AS images

WHERE valid = 1
AND images.catid IN (2)

ORDER BY RAND()
LIMIT 4;

MySQL Error : Table '***********.adv_gallery_images' doesn't exist
Error Number : 1146
Date : Thursday, December 7th 2006 @ 12:30:42 AM
Script : http://********/index2.php
Referrer :
IP Address : ***********
Username : ***********
Classname : vb_database

what on earth is causing that, the forums work, and my gallery works just the CMPS shows up as a big database error screen.

I am working on something new for this hack. The tables have changed names.

EX: Ver. 1.0, 1.0.1, 1.0.2, 1.0.3, 2.0B1/B2
Code:

FROM " . TABLE_PREFIX . "adv_gallery_images
v 2.0 +, v1.1+
Code:

FROM " . TABLE_PREFIX . "ppgal_images

techenigma 12-07-2006 04:22 PM

so what do I have to change to make this work?

+buG 01-16-2007 02:14 AM

Quote:

Originally Posted by techenigma (Post 1133928)
so what do I have to change to make this work?

Try going into the php (/modules/vbgallery_block.php) and searching for:

PHP Code:

FROM " . TABLE_PREFIX . "adv_gallery_images 

Replace with

PHP Code:

FROM " . TABLE_PREFIX . "ppgal_images 

That's all I did and the module works nicely, you'll have to really dig into it to repair the templates for the most current vb and gallery though.

Jesakos 03-01-2007 08:35 PM

i have this error

Code:

Warning: main(./includes/functions_gallery.php) [function.main]: failed to open stream: No such file or directory in /modules/vbgallery_block.php on line 17

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gwgrirc/public_html/forum/modules/vbgallery_block.php on line 17

anyone know? :confused:

i use 3.6.5v

Jesakos 03-07-2007 01:17 PM

anyone?

Gayble 05-22-2007 09:06 PM

i get this error:

XML Error: not well-formed (invalid token) at Line 1

Some one help me?

triff 12-08-2007 07:08 PM

Great mod and works perfectly!

Just one question: Is there anyway to stop the thumbnails linking to the gally? Just showing the thumbnails but no links?

SGL.

mortydot 07-03-2009 08:59 PM

I get this error after installation (following the txt instructions)

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 20

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 21

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 22

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/modules/vbgallery_block.php on line 26

Polo 08-01-2010 07:36 AM

Quote:

Originally Posted by mortydot (Post 1842362)
I get this error after installation (following the txt instructions)

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 20

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 21

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 22

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/modules/vbgallery_block.php on line 26

I got the same exact Error :cool:


All times are GMT. The time now is 11:31 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.01625 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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