 | |  | |
November 27th, 2005, 06:59 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Rebuilding Image sizes
I am trying to rebuild images but get nothing but errors. When doing thumbnail i get. Quote:
You don't have permission to access /forums/admincp/vba_gallery_admin.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
| When doing normal images i get. Code: Content visible to verified customers only.
Ending with the first error. www.localracechat.com
the images are there in the folders.
|
| |
November 28th, 2005, 07:35 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
|
Sure do miss that vBadvanced Gallery Support. Sad, sad, sad this post would have long been answered
|
| |
November 29th, 2005, 10:53 AM
|
#3 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
RJ,
Have you checked the permissions of the /forums/admincp/vba_gallery_admin.php file?
|
| |
November 29th, 2005, 11:07 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Quote: |
Originally Posted by KW802 RJ,
Have you checked the permissions of the /forums/admincp/vba_gallery_admin.php file? | You mean making sure it is (777) ? Yes
|
| |
November 29th, 2005, 11:52 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Have you checked the permissions of the files directory and its subdirectories to ensure they are 777
Also just a stab in the dark but if it is resizing other files I would suspect you have a corrupt image and should delete that one. The error is telling you it can not find the file. Can only be one of two reasons.
1. the permissions are wrong
2. the image is corrupt and or missing
|
| |
November 29th, 2005, 12:25 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Quote: |
Originally Posted by Chuck S Have you checked the permissions of the files directory and its subdirectories to ensure they are 777
Also just a stab in the dark but if it is resizing other files I would suspect you have a corrupt image and should delete that one. The error is telling you it can not find the file. Can only be one of two reasons.
1. the permissions are wrong
2. the image is corrupt and or missing |
Yes just 777 all files in the gallery files folder, and the images it says it can't find is in deed there. Does PP have ticket supprot like vb Advanced? I can let you guys take a look at it
|
| |
November 29th, 2005, 12:59 PM
|
#7 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
| Quote: |
Originally Posted by RaceJunkie Yes just 777 all files in the gallery files folder, and the images it says it can't find is in deed there. Does PP have ticket supprot like vb Advanced? I can let you guys take a look at it | RJ, the issue of tickets is being reviewed by the guys. I know a lot of the vBa Gallery community is used to being able to submit a ticket to have somebody take a quick look at the persons site but the current PP support system isn't really geared towards submitting server & forum info' for a number of reasons.
|
| |
November 29th, 2005, 01:01 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
|
ok thanks
|
| |
November 29th, 2005, 01:07 PM
|
#9 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
RJ, I just took a look at the PHP file... it's failing at a "getimagesize" command which is just a standard PHP command.
On your server "/home/localcom/public_html/gallery/files/2/2-2-DSC01688.JPG" is the valid full path to the file? ... and "/home/localcom/public_html/gallery/files" is 777 and "/home/localcom/public_html/gallery/files/2" is 777 and "/home/localcom/public_html/gallery/files/2/2-2-DSC01688.JPG" is 777?
|
| |
November 29th, 2005, 01:26 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
|
/home/localcom/public_html/gallery/files/2/DSC01688.JPG
is where it is at
Yes every single file is 777 in the entire files dir.
|
| |
November 29th, 2005, 01:55 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
This line in vba_gallery_admin.php add the symbol in bold
$imagedata = @getimagesize($imageinfo['location']);
|
| |
November 29th, 2005, 01:59 PM
|
#12 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
| Quote: |
Originally Posted by RaceJunkie /home/localcom/public_html/gallery/files/2/DSC01688.JPG | ... that's a different name then the error message. The error message had the name as "2-2-DSC01688.JPG" ... does that file exist?
|
| |
November 29th, 2005, 02:00 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Quote: |
Originally Posted by Chuck S This line in vba_gallery_admin.php add the symbol in bold
$imagedata = @getimagesize($imageinfo['location']); | What does this do?
|
| |
November 29th, 2005, 02:06 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Quote: |
Originally Posted by KW802 ... that's a different name then the error message. The error message had the name as "2-2-DSC01688.JPG" ... does that file exist? | I think the othe two 2's are refering to sub dirs like this.
This is another directory in that same folder.
/public_html/gallery/files/2/5/5/Image Name Here
|
| |
November 29th, 2005, 02:16 PM
|
#15 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
| Quote: |
Originally Posted by RaceJunkie What does this do? | Suppress the error. Quote: |
Originally Posted by RaceJunkie I think the othe two 2's are refering to sub dirs like this.
This is another directory in that same folder.
/public_html/gallery/files/2/5/5/Image Name Here | The '2-2-' shouldn't be referring to a physical file structure, other wise it'd be ../files/2/2/2/DSC01688.JPG that would be showing.
|
| |
November 29th, 2005, 02:19 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Quote: |
Originally Posted by KW802 ... that's a different name then the error message. The error message had the name as "2-2-DSC01688.JPG" ... does that file exist? | no it does not
The image DSC01688.JPG does though
|
| |
November 29th, 2005, 02:47 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
|
if any of the support team would like to take a look at this from ftp and or my Admin c/p i will be glad to set up a temp log in tonight for them VIA pm..
|
| |
November 29th, 2005, 03:15 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
|
ok I had to rename every file that began with DSC0 to 2-2-DSC0 then rebuild image sizes.
You were right KW802
Now the problen is there are about 200 or more other files in this same directory.
Is there anyway for me to fix this without having to physically remaneing the files? and How did this happen from moving from one server to another? I checked my backup and the files are named no different on the original server.
|
| |
November 29th, 2005, 03:24 PM
|
#19 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
The rest of the files are giving the same error as well now?
|
| |
November 29th, 2005, 03:29 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 197
| Quote: |
Originally Posted by KW802 The rest of the files are giving the same error as well now? |
Yes some of them are some are not. Very weird. here is another members gallery HERE
if you look at my gallery you will see some did not change and some did. If I right click the missing image and put whatever is in front of the image name I can rebuild them images then with no errors.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:27 PM. | |