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-10-2003 06:15 AM

Zelda, have you verified the local path to convert with you server admin ?

alkatraz 04-10-2003 07:06 AM

GREAT SCRIPT!


but help! I've got a strange DB error with vbb 2.28:

Quote:

There seems to have been a slight problem with the Northwest Nissans 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.2.8:

Invalid SQL: UPDATE session SET lastactivity=1049960744,location='/gallery/index.php' WHERE sessionhash='07d1e56dccb81aaa0b59751bb7f4bd82'
mysql error:

mysql error number:

Date: Thursday 10th of April 2003 03:45:44 AM
Script: http://northwestnissans.com/board/gallery/index.php
Referer: http://www.northwestnissans.com/gall...categories.php

My db settings are correct (triple checked) and here are my path settings:


Quote:

$cfgGalleryDirWeb = '/gallery/'; // absolute web path to gallery files
$cfgImageDirWeb = '/gallery/images/'; // absolute web path to image dir
$cfgImageDirLocal = '/home/alkatraz/www/gallery/images/'; //The local path to the image dir
$cfgThumbDirWeb = '/gallery/thumbnails/'; // absolute web path to thumbnails dir
$cfgThumbDirLocal = '/home/alkatraz/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 = '3,176,349';
$cfgForumDir = '/home/alkatraz/www/board/'; // The local path to the forum dir
$cfgGalleryDir = '/home/alkatraz/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
Verified with phpinfo.php SERVER["PATH_TRANSLATED"] /home/alkatraz/www/gallery/phpinfo1.php

The only thing I'm not sure I've done correctly is step 7 and the imagemagic path.

BUT everything looks like it's working.. i can upload pics and it will thumbnail them.



I read through the posts talking about a db error in 2.30, but I run with vbb 2.28:


Here is my gallery URL:
http://northwestnissans.com/gallery/

Zelda-King 04-10-2003 07:48 AM

Quote:

Today at 08:09 AM Bergman said this in Post #101
Zelda, have you verified the local path to convert with you server admin ?
I checked the paths in the server email from when we joined that host. As far as I can tell it's correct but I've just emailed them about it anyway.

flup 04-10-2003 05:08 PM

w0000000t great!!!!!

Rose 04-10-2003 05:30 PM

Where might one find "php.ini" to make the necessary change to kill a few errors? I'm having the same troubles as a few others and I'd like to fix it correctly instead of editing the full path into the includes files as recommended by Oak and Bergman.

I've searched high and low and I'm not finding the file. Any suggestions?

Also - Oak - I'd like to chat with you privately about some modifications if I might. I'm on msn at thecharmedgirl@hotmail.com or I can pm you. My site is strictly private so I'm unable to post the url in here.

winky6 04-10-2003 08:28 PM

Quote:

Where might one find "php.ini" to make the necessary change to kill a few errors? I'm having the same troubles as a few others and I'd like to fix it correctly instead of editing the full path into the includes files as recommended by Oak and Bergman.
Rose, unless you are on a dedicated server, the php.ini file is an ISP issue, and it would be up to them to change it.

One thing I have noticed with my host...
I do not have path problems untill I go 3 deep into subdirectories.
It must be a virtual server quirk of some sort. :bunny:

Rose 04-10-2003 09:09 PM

Quote:

Today at 04:22 PM winky6 said this in Post #106
Rose, unless you are on a dedicated server, the php.ini file is an ISP issue, and it would be up to them to change it.

One thing I have noticed with my host...
I do not have path problems untill I go 3 deep into subdirectories.
It must be a virtual server quirk of some sort. :bunny:


Gotcha. Thanks!

garoboldy 04-11-2003 12:06 AM

ok, just tried installing this and it didnt work for some reason...here is what my index.php displays..

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

Warning: main() [function.main]: Failed opening 'sql-mysql.php' for inclusion (include_path='') in /home/evoluti/public_html/gallery/include/sql.php on line 5

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

Warning: main() [function.main]: Failed opening 'getuser-vbulletin.php' for inclusion (include_path='') in /home/evoluti/public_html/gallery/include/getuser.php on line 6

Warning: main(thumb.php) [function.main]: failed to create stream: No such file or directory in /home/evoluti/public_html/gallery/include/showthumbs.php on line 5

Warning: main() [function.main]: Failed opening 'thumb.php' for inclusion (include_path='') in /home/evoluti/public_html/gallery/include/showthumbs.php on line 5

Fatal error: Call to undefined function: sqlconnect() in /home/evoluti/public_html/gallery/index.php on line 10

Rose 04-11-2003 01:13 AM

garoboldy - you're having the same problems as I am. If it's not run locally, the only way (I can think of) to fix most of the errors is to hardcode all files that contain "include('" in them to the full path. But I'm still getting a sql error that I can't get quite fixed.

alkatraz 04-11-2003 01:18 AM

Am I the only one getting the "Invalid SQL UPDATE session" error??


All times are GMT. The time now is 05:08 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.01130 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
  • (5)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