vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Module CMPS: PhotoPost vBGallery (https://vborg.vbsupport.ru/showthread.php?t=126697)

hannie 10-06-2006 06:36 AM

anyone?

Zachariah 10-06-2006 11:34 AM

Quote:

Originally Posted by hannie
i'm getting

can i just add this table in - if so whats the query??

Do you have vBGallery installed ?

hannie 10-06-2006 04:06 PM

yes PhotoPost vBGallery v2.0 is all working fine

hannie 10-07-2006 10:30 AM

ok have narrowed it down to when i do this part...

Quote:

- Edit:
forums/includes/init.php

- Find:
require_once(CWD . '/includes/class_core.php');

- Below Add:
require_once(CWD . '/includes/functions_gallery_store.php');
thats when i get the database error come up. -- any ideas why?

dbabaev 10-12-2006 12:50 AM

i also get
Quote:

Database error in vBulletin 3.6.2:

Invalid SQL:

SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title ,width, height, originalwidth, originalheight, images.views, images.posts, votenum, votetotal
FROM vb_adv_gallery_images AS images

WHERE valid = 1


ORDER BY RAND()
LIMIT 4;

MySQL Error : Table 'mbacale_msmba.vb_adv_gallery_images' doesn't exist

maroceve 10-12-2006 09:29 AM

Quote:

Originally Posted by maroceve
hi ..i have this problem since i updated to 3.6 :[


Fatal error: Cannot redeclare empty_category() (previously declared in /home/maroceve/public_html/forums/includes/functions_gallery.php:2069) in /home/maroceve/public_html/forums/includes/local_links_include.php on line 2935

So i disabled the module.

Can you please help ?


Thanks for letting me know ...Apparently this happens when i have both Links and download manager block and the gallery cmps block enabled....

smoknz28 10-14-2006 10:47 PM

I own Photopost v5.2, but I've not heard of vB Gallery til now. I've gone to Photopost's website and am not finding anything on it....then again I do have terrible eyesight....

Thanks,
Mark

hannie 10-20-2006 07:12 PM

Quote:

Originally Posted by smoknz28
I own Photopost v5.2, but I've not heard of vB Gallery til now. I've gone to Photopost's website and am not finding anything on it....then again I do have terrible eyesight....

Thanks,
Mark

http://www.photopost.com/compare.html

johnstires 10-22-2006 01:47 AM

Quote:

MySQL Error : Table 'hannie_vbulletinold.adv_gallery_images' doesn't exist
Error Number : 1146
I'm getting this error too. I have vbgallery 2.0 installed and vb 3.6.1

elsupremo 10-22-2006 06:29 AM

Quote:

Originally Posted by johnstires
I'm getting this error too. I have vbgallery 2.0 installed and vb 3.6.1

I get the exact same error. VBGallery 2.0 and VB 3.6.2

ZGeek 10-22-2006 09:46 PM

me too!

Zachariah 10-22-2006 10:09 PM

The tables have changed in vBGallery 2.0.
The prefix of tables changed from adv_gallery_ to ppgal_.
  • adv_gallery_categories --> ppgal_categories
  • adv_gallery_customfields --> ppgal_customfields
  • adv_gallery_customfields_entries --> ppgal_customfields_entries
  • adv_gallery_ecards --> ppgal_ecards
  • adv_gallery_exif --> ppgal_exif
  • adv_gallery_favorites --> ppgal_favorites
  • adv_gallery_filetypes --> ppgal_filetypes
  • adv_gallery_images --> ppgal_images
  • adv_gallery_moderator --> ppgal_moderator
  • adv_gallery_permissions --> ppgal_permissions
  • adv_gallery_posts --> ppgal_posts
  • adv_gallery_rate --> ppgal_rate
  • adv_gallery_search --> ppgal_search
  • adv_setting --> ppgal_setting
  • adv_settinggroup --> ppgal_settinggroup
  • adv_gallery_subscribecat --> ppgal_subscribecat
  • adv_gallery_subscribeimage --> ppgal_subscribeimage


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

FROM " . TABLE_PREFIX . "adv_gallery_images
Is now: Ver 2.0 +
Code:

FROM " . TABLE_PREFIX . "ppgal_images
Please take note if you have problems with old hacks or want to work on new projects.

johnstires 10-23-2006 01:07 AM

This code change is for the vbgallery_block.php file. It fixed it for me. Thanks! Anyone have the vertical template for this?

elsupremo 10-23-2006 06:06 AM

Thanks for that fix, it did work.
Unfortunately, another problem has come up.

If I am logged in under my administrator account, the site loads and the portal shows up fine.

If I am logged in under a regular account or if I am logged out completely, I only get a database error and the site does not load.

Any help will be immensely appreciated - I installed and used this addition for a long time without any trouble under VB 3.5, and am hoping to continue using it under 3.6.

Thanks!

TRR 10-23-2006 12:09 PM

Quote:

Originally Posted by joerns
Have created the module as per instructions, activated it and added it to the home page but nothing shows up - blank. Went into the CP and set the options to one column and one picture. The module is set to display in the right column. Wrecked my brain, but couldn't figure out what the problem may/could be. Any ideas? I'm running vBulletin 3.6.1, PhotoPost vBGallery v2.0 (vB 3.6) and vBadvanced CMPS v2.2.0 (vB 3.6.) I see you tested it on vBadvanced CMPS v2.2.1 (vB 3.6) but that does not seem to be availalbe for download on vbadvanced,.com yet?

Had the same problem until I updated the init.php file.

TRR 10-23-2006 12:16 PM

Quote:

Originally Posted by Zachariah
The tables have changed in vBGallery 2.0.
The prefix of tables changed from adv_gallery_ to ppgal_.
  • adv_gallery_categories --> ppgal_categories
  • adv_gallery_customfields --> ppgal_customfields
  • adv_gallery_customfields_entries --> ppgal_customfields_entries
  • adv_gallery_ecards --> ppgal_ecards
  • adv_gallery_exif --> ppgal_exif
  • adv_gallery_favorites --> ppgal_favorites
  • adv_gallery_filetypes --> ppgal_filetypes
  • adv_gallery_images --> ppgal_images
  • adv_gallery_moderator --> ppgal_moderator
  • adv_gallery_permissions --> ppgal_permissions
  • adv_gallery_posts --> ppgal_posts
  • adv_gallery_rate --> ppgal_rate
  • adv_gallery_search --> ppgal_search
  • adv_setting --> ppgal_setting
  • adv_settinggroup --> ppgal_settinggroup
  • adv_gallery_subscribecat --> ppgal_subscribecat
  • adv_gallery_subscribeimage --> ppgal_subscribeimage


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

FROM " . TABLE_PREFIX . "adv_gallery_images
Is now: Ver 2.0 +
Code:

FROM " . TABLE_PREFIX . "ppgal_images
Please take note if you have problems with old hacks or want to work on new projects.


I am still new to this; where do I make the corrections so that I don't get the "table does not exist" error?

elsupremo 10-23-2006 05:03 PM

Quote:

Originally Posted by TRR
I am still new to this; where do I make the corrections so that I don't get the "table does not exist" error?

You need to open the vbgallery_block.php file included in the mod download. Find "adv_gallery_images" in the line of code given above and replace it with "ppgal_images". Save file, reupload to to server/forums/modules/.

elsupremo 10-26-2006 10:09 PM

Quote:

Originally Posted by elsupremo
Thanks for that fix, it did work.
Unfortunately, another problem has come up.

If I am logged in under my administrator account, the site loads and the portal shows up fine.

If I am logged in under a regular account or if I am logged out completely, I only get a database error and the site does not load.

Any help will be immensely appreciated - I installed and used this addition for a long time without any trouble under VB 3.5, and am hoping to continue using it under 3.6.

Thanks!

I would still love some help with this problem...or at least a suggestion? I would hate to permanently lose the use of this mod!

WZZZ 11-02-2006 10:46 PM

Invalid SQL:

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

WHERE Array valid = 1


ORDER BY RAND()
LIMIT 4;

Ошибка MySQL : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1


ORDER BY RAND()
LIMIT 4' at line 4

Jaxx 11-02-2006 11:22 PM

Wow, you're not the only one getting that error WZZZ.

I had to disable it because my users couldnt' log in due to that.

Zachariah 11-03-2006 10:55 PM

I have a few things to update in this, Ill see about getting it done this weekend.

StuntFactoryX 11-04-2006 05:09 PM

did the edits in post 52 and its working on 3.6.2

Jaxx 11-04-2006 06:25 PM

:confused:
Quote:

Originally Posted by StuntFactoryX
did the edits in post 52 and its working on 3.6.2


Cocko 11-05-2006 06:01 PM

Does it work with Photopost Pro 5.5 ?

johnstires 11-07-2006 08:48 PM

Why would I get a database error from someone's uploaded file:

Code:

Database error in vBulletin 3.6.1:

Invalid SQL:

                SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid  ,images.userid, images.username
                FROM vbulletinppgal_images AS images
               
                WHERE Array valid = 1
   
       
                  ORDER BY dateline DESC
                LIMIT 4;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1
   
       
                  ORDER BY dateline DESC
                LI' at line 4
Error Number : 1064
Date        : Tuesday, November 7th 2006 @ 03:48:44 PM
Script      : http://www.forum-of-friends.com/
Referrer    : http://www.forum-of-friends.com/gallery/showimage.php?i=34&c=2
IP Address  :
Username    :
Classname    : vB_Database


dennisuello 11-08-2006 05:05 PM

Installed 3.6.3 and it diasppeared. I tried reinstalling the hack and it still doesn't work.

Zachariah 11-08-2006 06:19 PM

Quote:

Originally Posted by dennisuello
Installed 3.6.3 and it diasppeared. I tried reinstalling the hack and it still doesn't work.

When you updated the forums it killed the edit to the fourms/includes/init.php file.

dennisuello 11-08-2006 07:07 PM

thanks, i guess i missed that when i reinstalled it.

johnstires 11-12-2006 01:12 PM

Quote:

Originally Posted by Zachariah
I have a few things to update in this, Ill see about getting it done this weekend.

Have you been able to get around to this update? I have no clue why my module would suddenly stop working and cause a sql error. I think the only thing I did was add a cetegory, and everything stopped working:

Code:

Database error in vBulletin 3.6.1:

Invalid SQL:

                SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid  ,images.userid, images.username
                FROM vbulletinppgal_images AS images
               
                WHERE Array valid = 1
    AND images.catid IN (6)
               
                      ORDER BY dateline DESC
                LIMIT 4;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1
    AND images.catid IN (6)
               
                      ORDER BY dateline D' at line 4
Error Number : 1064
Date        : Sunday, November 12th 2006 @ 08:07:57 AM
Script      : http://www.forum-of-friends.com/
Referrer    :


loonytune15 11-17-2006 11:20 AM

this doesn't work with gallery 2.1

At least not for me anyhow..

Zachariah 11-17-2006 11:35 AM

Quote:

Originally Posted by loonytune15 (Post 1119288)
this doesn't work with gallery 2.1

At least not for me anyhow..

I have new update planed, is there any errors ?

Xil Ze 11-18-2006 11:23 PM

Quote:

Originally Posted by loonytune15 (Post 1119288)
this doesn't work with gallery 2.1

At least not for me anyhow..

same for me. i get the aforementioned error message.

Zachariah 11-22-2006 11:59 AM

I am working on a new block.
- vs. 1 block with 1 set of settings it will have settings per VBA page.

johnstires 11-25-2006 06:22 PM

Is anyone else getting a database error or am I the only one? I am completely baffled on why it would suddenly stop working for me. I can't translate the error. Is it because I am vbgallery 2.1? Any help would be much appreciated.

jlaine 11-25-2006 09:20 PM

Quote:

Originally Posted by johnstires (Post 1124991)
Is anyone else getting a database error or am I the only one? I am completely baffled on why it would suddenly stop working for me. I can't translate the error. Is it because I am vbgallery 2.1? Any help would be much appreciated.

I'm only getting it when I'm not logged in and viewing the main page now (and with regular users apparently, just got an e-mail on it), I just got it installed myself so I haven't started digging

The one other error was fixed by changing adv_gallery_images to ppgal_images in the php file, this one now that I'm getting would be after the aforementioned fix.

jcfuller 11-26-2006 04:26 AM

Quote:

Originally Posted by jlaine (Post 1125088)
I'm only getting it when I'm not logged in and viewing the main page now (and with regular users apparently, just got an e-mail on it), I just got it installed myself so I haven't started digging

The one other error was fixed by changing adv_gallery_images to ppgal_images in the php file, this one now that I'm getting would be after the aforementioned fix.

Same for me. :cross-eyed:

bolobala 11-27-2006 01:45 PM

Installed!
But this images show in Forum Home not good, how can i arrange it into 1 row.
In my 4rum it just show into 3 rows
http://ngoichatnghenhac.biz/4rum/
Help me plz

Trana 11-27-2006 06:44 PM

Quote:

Originally Posted by jlaine (Post 1125088)
The one other error was fixed by changing adv_gallery_images to ppgal_images in the php file, this one now that I'm getting would be after the aforementioned fix.

Can someone please post a complete version of the module so we can fix this in the meantime?

I'm still not sure why changing the names of all the tables for the gallery only constitutes a x.1 increment in revision numbers.

Thanks for keeping vbg going though.

gator777 12-05-2006 02:01 AM

Zach,

Any word on the fix? :)

TRR 12-15-2006 01:03 PM

Been a while, so I am bumping. Any word on a fix? Thanks!


All times are GMT. The time now is 09:03 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.02178 seconds
  • Memory Usage 1,840KB
  • 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
  • (6)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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