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-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:


All times are GMT. The time now is 01:54 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.01699 seconds
  • Memory Usage 1,740KB
  • 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_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