vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   OakGallery 2.0 Released ! [Great image gallery] (https://vborg.vbsupport.ru/showthread.php?t=51255)

Bergman 04-14-2003 06:09 AM

Kuska, there is a random.php included in the OakGallery already. But nice hack anyway. :)

Im going to speak to ?ke about the problems that some of you are experience. I?ll be back ! :)

winky6 04-14-2003 04:18 PM

How many people are getting the "Session" error from vbulletin ??????

For some strange reason, I am not getting the error running 2.3, and the only thing I can find between the versions is one of the update scripts in the release canidate updated the sessionhash field to a larger field.

So if some people are getting the error in this merge, I would guess the fix is in the vbulletin database field itself....

EvilCrow 04-14-2003 05:59 PM

ok this may sound stupid but I'm only getting a blank (White) page no errors nothing but a blank page.. Anyone Help?

$cfgGalleryDirWeb = '/gallery/'; // absolute web path to gallery files
$cfgImageDirWeb = '/gallery/images/'; // absolute web path to image dir
$cfgImageDirLocal = '/big/dom/xcrowsworld/www/gallery/images/'; //The local path to the image dir
$cfgThumbDirWeb = '/gallery/thumbnails/'; // absolute web path to thumbnails dir
$cfgThumbDirLocal = '/big/dom/xcrowsworld/www/gallery/thumbnails/'; // The local path to the thumbnails dir
// Put the forums usernumbers for the OakGallery Admins here (comma separated).
// Like this: '1,2,3,4' - NOT like this: '1, 2, 3' !!!
$cfgAdminList = '1,2';
$cfgForumDir = '/big/dom/xcrowsworld/www/forum/'; // The local path to the forum dir
$cfgGalleryDir = '/big/dom/xcrowsworld/www/gallery/'; // The local path to the vGallery dir
$cfgConvert = '/usr/bin/convert'; // Local path to ImageMagick's convert
$cfgComposite = '/usr/bin/composite'; // Local path to ImageMagick's composite

alkatraz 04-15-2003 01:28 AM

Quote:

Today at 10:12 AM winky6 said this in Post #122
How many people are getting the "Session" error from vbulletin ??????

For some strange reason, I am not getting the error running 2.3, and the only thing I can find between the versions is one of the update scripts in the release canidate updated the sessionhash field to a larger field.

So if some people are getting the error in this merge, I would guess the fix is in the vbulletin database field itself....


Thank you for helping me!! (I think i'm the only loner still running 2.28 =))

I changed the Session\sessionhash fields "Length/Values*" to 255 from 32 but it didn't fix it.

Tried to go higher then 255 but it said:
Quote:

MySQL said:


Too big column length for column 'sessionhash' (max = 255). Use BLOB instead
Tried changing it to a BLOB, but it said:
Quote:

MySQL said:


The used table type doesn't support BLOB/TEXT columns
I'm curious if anyone has this working correctly in 2.28

Thanks again for helping me out here!!

kuska 04-15-2003 01:42 AM

Quote:

Yesterday at 08:03 AM Bergman said this in Post #121
Kuska, there is a random.php included in the OakGallery already. But nice hack anyway. :)

Im going to speak to ?ke about the problems that some of you are experience. I?ll be back ! :)

Doh ! :)
I guess i did that because i didint upgrade yet :)

And the reason is i dont see instructions for a upgrade : \
Do i need to create a new data base? Just over write the old files? I dont want to loose my old pictures and comments. :rambo:

GoTTi 04-15-2003 04:26 AM

ok how do i find out if ImageMagick is installed on my server?

Oak 04-15-2003 07:58 AM

Quote:

Yesterday at 06:12 PM winky6 said this in Post #122
How many people are getting the "Session" error from vbulletin ??????

For some strange reason, I am not getting the error running 2.3, and the only thing I can find between the versions is one of the update scripts in the release canidate updated the sessionhash field to a larger field.

So if some people are getting the error in this merge, I would guess the fix is in the vbulletin database field itself....

This is interesting... It has to be something with the session-handling, since the first time you load a page on a site which gives the error - the error is NOT shown, but the next time you load a page - you DO get the error. Therefore, it has to be the sessions...

Does the update from 2.2.x to 2.3 (not RC1) also change the table field type? Or was it just RC1 which did that? I wonder what extra information is put into the hash value in 2.3.0 - or if it's a MySQL issue..?

I need help with this since I don't have a machine to run tests on with vBulletin.

Oak 04-15-2003 07:59 AM

Quote:

Today at 06:20 AM Da_GoTTi said this in Post #126
ok how do i find out if ImageMagick is installed on my server?
If you have shell-access, run "whereis convert" or "which convert"

Oak 04-15-2003 08:01 AM

And about the include-file errors: I'm working on an update which will fix those errors without the need to have include_path="."

alkatraz 04-15-2003 02:32 PM

Quote:

This is interesting... It has to be something with the session-handling, since the first time you load a page on a site which gives the error - the error is NOT shown, but the next time you load a page - you DO get the error. Therefore, it has to be the sessions...
I get the error every single time i hit a gallery page, even after clearing my cookies and temp files.


Quote:

Does the update from 2.2.x to 2.3 (not RC1) also change the table field type? Or was it just RC1 which did that? I wonder what extra information is put into the hash value in 2.3.0 - or if it's a MySQL issue..?
I don't know, but maybe this will help:

UPGRADING:
From 2.3.0 Release Candidate 1, Release Candidate 2 or Release Candidate 3
Run http://your.site/forums/admin/upgrade23.php again, clicking the link that allows you to continue when the script alerts you that you have already run this script.

From 2.2.9
http://your.site/forums/admin/upgrade23.php

From 2.2.8
http://your.site/forums/admin/upgrade22.php
http://your.site/forums/admin/upgrade23.php


(files are available for the VB member download area)

noelmd2001 04-15-2003 03:58 PM

hi...

i use vbulletin 2.3.0 and the gallery is working except that i get this error:

Quote:

There seems to have been a slight problem with the USTExchange.com database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

------------------------------------------------------------------------
Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE session SET lastactivity=1050425418,location='/~ustex/gallery/showimage.php?iid=2&cid=1&sort=date' WHERE sessionhash='d55acf994e74d84bfcd1b48471424e87'
mysql error:

mysql error number:

Date: Tuesday 15th of April 2003 11:49:56 AM
Script: http://www.blogph.com/~ustex/forumsb...id=1&sort=date
Referer: http://www.blogph.com/~ustex/gallery...id=1&sort=date
i can upload photos, comment on them, create categories.. everything is fine except for this error...

anyone can shed a light on this please???

EvilCrow 04-15-2003 06:31 PM

.

EvilCrow 04-15-2003 06:38 PM

Quote:

Yesterday at 02:53 PM EvilCrow said this in Post #123
ok this may sound stupid but I'm only getting a blank (White) page no errors nothing but a blank page.. Anyone Help?

$cfgGalleryDirWeb = '/gallery/'; // absolute web path to gallery files
$cfgImageDirWeb = '/gallery/images/'; // absolute web path to image dir
$cfgImageDirLocal = '/big/dom/xcrowsworld/www/gallery/images/'; //The local path to the image dir
$cfgThumbDirWeb = '/gallery/thumbnails/'; // absolute web path to thumbnails dir
$cfgThumbDirLocal = '/big/dom/xcrowsworld/www/gallery/thumbnails/'; // The local path to the thumbnails dir
// Put the forums usernumbers for the OakGallery Admins here (comma separated).
// Like this: '1,2,3,4' - NOT like this: '1, 2, 3' !!!
$cfgAdminList = '1,2';
$cfgForumDir = '/big/dom/xcrowsworld/www/forum/'; // The local path to the forum dir
$cfgGalleryDir = '/big/dom/xcrowsworld/www/gallery/'; // The local path to the vGallery dir
$cfgConvert = '/usr/bin/convert'; // Local path to ImageMagick's convert
$cfgComposite = '/usr/bin/composite'; // Local path to ImageMagick's composite



Can someone give me an idea what I can do??

EvilCrow 04-16-2003 12:32 AM

Well thanks for all the help ppl... But I found out myself why.. my web host doesn't allow ImageMagick on there servers for some Reason :

Quote:

ImageMagick is too heavily dependent on the X-Libs (security issues)...
Oh well.. Would have been a really nice hack..

alkatraz 04-16-2003 03:26 AM

Quote:

Today at 09:58 AM noelmd2001 said this in Post #131
hi...

i use vbulletin 2.3.0 and the gallery is working except that i get this error:



i can upload photos, comment on them, create categories.. everything is fine except for this error...

anyone can shed a light on this please???



WOO-HOO! I'm not alone!! Someone has the same error as me.

PS: It's starting to become a real pain in the ass deleting 400+ Vbulletin Error Emails everyday.

noelmd2001 04-16-2003 07:17 AM

i seem to get it working in 2.3.0

what i did was just to put the gallery tables in the same database as vbulletin.

and lo and behold, the mysql db errors (sessions) disappeared!

hope this helps anybody!

solent 04-16-2003 10:00 AM

Quote:

Today at 11:17 AM noelmd2001 said this in Post #136
i seem to get it working in 2.3.0

what i did was just to put the gallery tables in the same database as vbulletin.

and lo and behold, the mysql db errors (sessions) disappeared!

hope this helps anybody!

thanks very much dude.

that solved my problem as well.

Great hack by the way.

excellent work

alkatraz 04-16-2003 03:24 PM

Quote:



what i did was just to put the gallery tables in the same database as vbulletin.

and lo and behold, the mysql db errors (sessions) disappeared!


OMG! That worked!!!!! Thank you!!!

winky6 04-17-2003 12:51 AM

You guys beet me to the punch line.

I just happened to read the install instructions again last night, and saw the part about creating a seperate database for the gallery.

It would seem to be a better sollution to have the whole setup on the same database if you going to use the vbulletin user table.

Beyond that.

COOOOL Gallery :banana:

Koopa 04-17-2003 11:29 AM

Can I install Imagemagik myself or does my host have to do it?

Bergman 04-17-2003 12:12 PM

Great that you guys "solved" the session problem. Now we have something to go on to solve it the right way. ;)

Koopa, your server admin has to do it.

Koopa 04-17-2003 04:02 PM

The variable include_path = "." in php.ini

Not sure what that means....

winky6 04-17-2003 10:23 PM

Quote:

Great that you guys "solved" the session problem. Now we have something to go on to solve it the right way.
:confused: :confused: :confused:

Maybe it's my defensive side, But I think the "Right way" is to have both the gallery and VB on the same database.

By having the script call 2 seperate config files, you are leaving open an area for exploits.

As for the issue in the php.ini file....

Many webhosting providers are 2nd and 3rd party resellers.
So for them to setup their "Virtual servers" properly, they leave some settings "Undefined".

I would suggest that in the next release, or in future ideas, adding in an additional variable, or use an existing one, and make the paths in the include statement to some thing like..

In gallery config -

$cfgGalleryDirLocal = '/home/user/public_html/photos/'

In the include files
include($cfgGalleryDirLocal . '/include/sql-mysql.php');

solent 04-18-2003 05:24 AM

Quote:

Yesterday at 02:29 PM Koopa said this in Post #140
Can I install Imagemagik myself or does my host have to do it?

no you have to ask your host to install it for you. also you have to ask you host to make this change in the php.ini file

The variable include_path = "."

Bergman 04-18-2003 07:29 AM

winky, good idea fort the path?s and the database. I will speak to ?ke about it. :)

labrador 04-18-2003 08:47 AM

The install worked fine for me (seperate database), but I can't upload images though.

the error after pressing 'submit' is:
Error moving file - Please contact system administrator
After running phpinfo i noticed that it has no php upload path specified.
Could this be the problem?
If so, is it possible to specify a temp folder?

I am also on a virtual hosting account without access to php.ini so i would like to be sure what is wrong before requesting a modification @ my isp.

i have not checked all features yet but this hack looks great sofar.
The only features i have not read anything about is folder redirection per username (only upload in your own folder for easy management, maybe even auto-delete images when removing a user), quotas per user and a way to give permission to use the gallery on a vbb user basis.
Maybe i am to demanding, then consider this a wish-list :)

Thanks for the hard work & sharing, bergman and associates :)

[edit] The error is solved now by chmod /images and /thumbnails to 777 instead of 770.
Now i only need ImageMagick on the server...
Request to provider is made, fingers crossed :D

Splitfyre 04-20-2003 08:15 AM

Any way to limit where people can setup galleries (i.e. can I set specific forums to have this functionality?

Splitfyre 04-20-2003 08:15 AM

Any way to limit where people can setup galleries (i.e. can I set specific forums to have this functionality?

Splitfyre 04-20-2003 09:38 AM

Getting the following error message:

Database error in vBulletin 2.2.8:

Invalid SQL: DELETE FROM session WHERE sessionhash=''
mysql error:

mysql error number:

Seems weird since everything else works just fine.

1. Is there a way in which I can allow registered users on my
forum to create sub-categories within a particular category?

winky6 04-20-2003 02:10 PM

Quote:

Getting the following error message:
Sometimes I wonder about people.

If you read up about 6 posts, you'll see we already addressed that issue.

Put your gallery tables in the same database as Vbulletin, and the error will go away. :confused:

garoboldy 04-20-2003 11:47 PM

well I have yet to see any type of answer to my post earlier...am I the only one that seems to be getting this error or what??

Bergman 04-21-2003 09:58 AM

garoboldy, your problem seems to be the the include_path in php.ini on the server not is right configured for this gallery but we are going to release av 2.01 today that fixes the path-problem.

Splitfyre 04-21-2003 06:02 PM

In moving more towards what PhotoPost does, is there any ability within Oak Gallery to do the following:

1. Limit the function to specific forum categories?
2. In that category can people create galleries that would generate a thread
3. Once that thread is created, other users can just use the reply function to go in and add more
photos to the existing thread.

Let me know if this is possible.
Thanks :)

garoboldy 04-21-2003 07:18 PM

glad to hear bergman. I will appreciate the new version today...thanks

garoboldy 04-21-2003 07:26 PM

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/evoluti/public_html/gallery/include/getuser-vbulletin.php on line 13

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in /home/evoluti/public_html/gallery/include/getuser-vbulletin.php on line 14

now I am getting this with the new version 2.01

garoboldy 04-21-2003 07:47 PM

nevermind. I fixed it and I am testing uploads and what not now...great job guys...good work.

Splitfyre 04-21-2003 08:28 PM

Anyone know have ideas for what I asked above?

Bergman 04-22-2003 07:00 AM

garoboldy, how did you solve it ? With any solution from this thread ?

Splitfire, this gallery has no function to integate so much with the forum today if not someone has written a hack to it.

PiotrasG 04-23-2003 11:30 PM

Hey nice hack got one problem. Some of my users when they try to add a picture get this message.

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

Some of them dont have the problem. Can some one tell me how i can fix this. Its like when u press submit it doesnt take you the uppload_handle but the browser shows the link

garoboldy 04-23-2003 11:42 PM

I just ran the tables in the vbulletin database and it fixed it...now I am having problems with getting images to upload for some reason..not sure why.


All times are GMT. The time now is 12:38 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.01769 seconds
  • Memory Usage 1,843KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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