PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 14th, 2008, 09:56 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 22
Upgraded: but new photos wont show at showimage.php

So here is the story.

At first no images were showing at the showimage point but I update the entire gallery folder and could then see full size images.

BUT TODAY

I just noticed that new images added will not display in full size. See: CLICK HERE

I double checked that all the folders are correct. Can someone please help me understand how to trouble shoot this or what might be wrong?

Seems that it is not storing the file when its uploaded. See attachment (screen grap from files folder)
Attached Images
File Type: png Picture 5.png (11.6 KB, 16 views)

Last edited by rc1320; January 14th, 2008 at 09:09 PM.
rc1320 is offline  
Old January 14th, 2008, 09:09 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 22
any help here?
rc1320 is offline  
Old January 15th, 2008, 09:47 AM   #3 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Look for custom ADV_GALLERY_SHOWIMAGE in your templates.
- you may need to save your custom code and revert the template. (there may have been some code changes)
Zachariah is offline  
Old January 16th, 2008, 12:54 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 4
I have the same problem, but don't use displayimage.php
I think I've some hints to help the developers to solve the problem:

I've uploaded the file "1-crestbig-2.gif" and the followinf file were created in the image directory:
Code:
Content visible to verified customers only.
The images refered by are:
Code:
Content visible to verified customers only.
Please note the difference: 1_1_crestbig_2.gif <-> 1-1_crestbig_2.gif
MrBurns is offline  
Old January 16th, 2008, 07:04 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 22
Quote:
Originally Posted by Zachariah View Post
Look for custom ADV_GALLERY_SHOWIMAGE in your templates.
- you may need to save your custom code and revert the template. (there may have been some code changes)
I don't have any mods to my vBgallery templates.

I am really lost on this issue and have been spending way too much time on it for the last 5 days. Emailed via the support line and Chucks suggestions didn't apply.

I need someone to fix this for me. Zachariah or Chuck, with access would you guys be able to fix this for me? I will pay you via Paypal.
rc1320 is offline  
Old January 17th, 2008, 01:53 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 11
Send a message via MSN to 993ti
Same thing happening here.
No mods either.
Does not happen when uploaded directly from the server.
993ti is offline  
Old January 17th, 2008, 09:05 PM   #7 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
rc1320 - Shoot me some access via PM - ftp / admincp
Zachariah is offline  
Old January 18th, 2008, 09:04 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Zachariah

The bug is verified. vbGallery looks for files like this

http://.../vbgallery/files/1_1_crestbig_2.gif

However in the old vbGallery the files are like this

http://.../vbgallery/files/1_1_crestbig-2.gif
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old January 18th, 2008, 09:56 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 22
Quote:
Originally Posted by Chuck S View Post
Zachariah

The bug is verified. vbGallery looks for files like this

http://.../vbgallery/files/1_1_crestbig_2.gif

However in the old vbGallery the files are like this

http://.../vbgallery/files/1_1_crestbig-2.gif
Does this mean there is a fix for it? Do I need to hold tight or is there something I should do?
rc1320 is offline  
Old January 29th, 2008, 01:28 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Southern Germany
Posts: 213
Seems all 2.42 users are waiting for a solution since 2 weeks?
Ramses is offline  
Old February 2nd, 2008, 04:41 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 7
My solutions, edit file /forum/includes/functions_gallery_imageedit.php

Line 370, from
Code:
Content visible to verified customers only.
To
Code:
Content visible to verified customers only.
Kfrancesco is offline  
Old February 2nd, 2008, 07:41 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 11
Send a message via MSN to 993ti
Ehm, the 2 lines are the same?
993ti is offline  
Old February 2nd, 2008, 11:06 PM   #13 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
no the lines are not the same one has - the other _

question: if i understand correctly the problem only exists if safe mode is active? or at least if setting is so in acp.. ie. All files in one directory..
files/userid-filename.jpg
instead of files/u/s/e/r/i/d/filename.jpg ?



Luc
Luciano is offline  
Old February 3rd, 2008, 12:59 AM   #14 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Well i tested on my install.. and yes it happens but only if your gallery is in safemode..
that means that ALL files are only in 1 directory gallery/files/filename.jpg

You should not use that unless your server is really in safemode.. and you cannot change that... (ie. php cannot create subdirectories by itself..)

Why? most obvious reason: the file limits..
some systems start crashing when there are 20000 files in one directory.. others allready with 15.000 but..
each image needs at least 3 files.. so that will limit you to 6000 or 7000 images in total before your server crashes..

if you can use the normal option: you can have 100 thousand images without a problem.. as directories and subdirectories will be created for each DIGIT of the user id.. (only limit left will be 6 to 7000 images PER USER) wich is much nicer..

but there are other reasons like performance etc.. (takes less time to seek a file with 50 files in a dir than a file when there are 5000 files in a dir) ...

ATTENTION: the settings are a bit confusing in wording...
if you have:
Quote:
Click the 'Change File Storage Method' button below to turn the safemode bypass Off.
it means that your gallery is using safemode...!!!! (what it shouldnt)

==================================

But back to the topic.. the fix above seems to work.. but i dont like it..

because when you switch from safemode back to normal you will loose images.. (the system looks for images like userid-filename to put them back in the subdirectories) now when i switched to safemode all my files were called like that (1-filename.jpg) the new uploads would be: 1_filename.jpg .. when i want to switch back.. the system will NOT be able to tell what are my files..
===> i will loose the new uploads..


so what I suggest as quickfix: (but i think zach is looking into it in a more deep manner and will come up with a real fix very soon)

leave the line in the post above like it is..(i.e. dont change it)
instead change:
in forum/includes/functions_gallery_imageedit.php
Code:
Content visible to verified customers only.
to
Code:
Content visible to verified customers only.
(or simply add the dash after ^a-z0-9_-)
it seems to work... but.. i think it should be tested more deeply..
could be other drawbacks (none that i can think of.. but you never know)

Luc

Last edited by Luciano; February 3rd, 2008 at 01:15 AM.
Luciano is offline  
Old February 3rd, 2008, 03:31 PM   #15 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by MrBurns View Post
I have the same problem, but don't use displayimage.php
I think I've some hints to help the developers to solve the problem:

I've uploaded the file "1-crestbig-2.gif" and the followinf file were created in the image directory:
Code:
Content visible to verified customers only.
The images refered by are:
Code:
Content visible to verified customers only.
Please note the difference: 1_1_crestbig_2.gif <-> 1-1_crestbig_2.gif
Test this please.
forum/includes/functions_gallery_imageedit.php

Find:
Code:
Content visible to verified customers only.
Replace with:
Code:
Content visible to verified customers only.
Zachariah is offline  
Old February 3rd, 2008, 05:45 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 11
Send a message via MSN to 993ti
Didn't work for me
993ti is offline  
Old February 4th, 2008, 12:35 AM   #17 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Quote:
Originally Posted by 993ti View Post
Didn't work for me
did you try both fixes? mine and zachs? I had to apply both for it to work correctly..
Luciano is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UPGRADED: but now showimage.php is broken rc1320 Installs and Upgrade - vBulletin 3.6x 1 January 11th, 2008 10:28 PM
showimage.php DementedMindz Bugs - vBulletin 3.5.X 3 September 25th, 2006 06:58 AM
ShowImage.php cgmojoco Installs and Upgrade - vBulletin 3.0.X 4 June 29th, 2005 05:26 PM
Slide show link in ShowImage page cgmojoco How Do I? - vBulletin 3.0.X 8 June 23rd, 2005 06:15 PM
inc_features.php to show photos on a vbP3 portal front page criscokid Photopost Pro Installation & Upgrades 17 February 23rd, 2005 12:38 PM


All times are GMT -5. The time now is 03:28 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0