vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Gallery 2.1 and vBulletin 3.5.X integration (https://vborg.vbsupport.ru/showthread.php?t=111931)

Elvin Motric? 04-11-2006 10:45 AM

I get these error messages when installing the plugins. They appear when a user tries to post a new thread:

Quote:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/home/ry3944/domains/twilights.be/public_html/boards/includes/class_dm_user.php(1571) : eval()'d code on line 10


Unable to add cookies, header already sent.
File: /usr/home/ry3944/domains/twilights.be/public_html/boards/includes/class_dm_user.php(1571) : eval()'d code
Line: 10
And also my gallery2.php doesn't show gallery. It comes up empty if I don't use the standard vBulletin layout. My site uses another layout and in this one it doesn't show gallery.

http://boards.twilights.be/gallery2.php

EDIT: for some strange and twisted reason it does show the gallery in both layouts now. Though I still get the error when I activate the plugins

EDIT2: I've narrowed the source of the error down to the Update Gallery User Plugin.

Final EDIT: thanks to a friend who knows a bit more about php then me I've been able to resolve all problems. There was a problem with the settings of my webserver and one problem with the script. All matters resolved!

tuanluu 04-12-2006 03:50 AM

go to plug in manager edit two plug in one say delete and upadate gallery

find the line public_html or something similar and fix to you need

and check for the extra commo too take one out

I up ../gallery it work for me

ztempuser 04-13-2006 02:26 AM

but you know,? i have had it uninstalled for a while now, and it still is disabled, i guess thats not my problem what else could be cuuseing this to not let the pics show up?
Quote:

Originally Posted by defcon_420
this is because you have the URL rewrite module enabled .. go into your gallery admin then modules and disable or remove the modue
then your pictures will work


tuanluu 04-13-2006 04:33 AM

does you gallery work alone?

defcon_420 04-13-2006 07:27 AM

Blackwidow one of your path's in the gallery2.php is incorrect.. play with the path settings
mines working great :)

ztempuser 04-13-2006 09:15 PM

:D your right lol i went back and read the whole script line by line and i found this
Code:

// the folder where you've installed gallery relative to httpd root. Should have trailing /
define('G2_URI',                                                '/gallery2/');

it says /gallery2/ i have mine in /forum/gallery2/ now it works nice:D its a charm to have. but one thing im waiting for the fix for is for the adim to beable to see the gallery page, i know the instructions where given but i did not fully understand so i didn't try it, but im getting mad at the problem so i will try it in a few min lol.

defcon_420 04-13-2006 11:27 PM

ok, make another user, give them admin rights (non embedded e.g www.yoursite.com/gallery2/main.php)
then go in with the new admin embedded and delete your first admin, then re-enter him (eg. www.yoursite.com/gallery2.php)
thats it basically

ztempuser 04-14-2006 12:12 AM

man i finaly got it:) im so happy now lol, i still didn't get much of what you said lol, but i played around for about 30min and i got it:)
great thread guys:)

SilVert 04-17-2006 01:44 PM

anybody still with outstanding issues at this point?

JoshMount. im back, and the weather was so nice... now, about that plugin beta ;)

silkie 04-18-2006 10:41 PM

yup me. I've done what you said to do but I think I might be in a different situation. I'm using vb 3.5.4 with g2.1 and vbadvanced 2.1(also using update/delete members plugin) which means I have g2 in my root folder, vbadvanced in root (called portal) and forums directory under vb (portal)

ie:
home/
gallery2/
portal/forums/gallery2.php

I fixed the two plugins where it had the extra ' after embed. ie: require_once('/home/vampirec/public_html/gallery2/embed.php '');

then I did this:
Quote:

ok, make another user, give them admin rights (non embedded e.g www.yoursite.com/gallery2/main.php)
then go in with the new admin embedded and delete your first admin, then re-enter him (eg. www.yoursite.com/gallery2.php)
that just didn't work. not under any circumstances. when the page loads (AFTER I log in) it shows my vb template, however the area where the gallery SHOULD be is empty and I have this error:

line: 98, Failed to create G2 user with extId [1]. Here is the error message from G2:
Error (ERROR_COLLISION)
in modules/core/classes/GalleryUser.class at line 166 (gallerystatus::error)
in modules/core/classes/GalleryEmbed.class at line 300 (galleryuser::create)
in /home/vampirec/public_html/portal/forums/gallery2.php at line 95 (galleryembed::createuser)
in /home/vampirec/public_html/portal/forums/gallery2.php at line 50

if I'm NOT logged in I get this error:
line: 115, G2 did not return a success status. Here is the error message from G2:
Error (GALLERY_SUCCESS)
in at line 0


any clues on what the heck I did and where I might have gotten turned around?


All times are GMT. The time now is 08:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01496 seconds
  • Memory Usage 1,744KB
  • 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_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