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 6th, 2008, 07:05 PM   #1 (permalink)
BWJ
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 42
Question cannot upload any images after upgrade

vbulletin 3.6.7 and upgrade of vbgallery from 2.2 to 2.4.1

I have just moved to a new server. However after upgrading the gallery I cannot upload, rotate and resize.

I have tried GD1 and GD2 both with 755 and 777

My php-info:

Quote:
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled
Any suggestions?
BWJ is offline   Reply With Quote
Old January 7th, 2008, 11:26 PM   #2 (permalink)
BWJ
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 42
Update:

Upload: solved
(I forgot to chmod ALL subfolders in the files folder

Resize - e.g. thumbnails: NOT SOLVED
only works with new images after the upgrade... . All the old images remain the same size

Rotate (edit image): NOT SOLVED
editimage.php shows a blank page

I have tried as administrator.
BWJ is offline   Reply With Quote
Old January 15th, 2008, 12:34 PM   #3 (permalink)
BWJ
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 42
Okay I have to bump this thread. The situation is now this:

Quote:
Rotate (edit image): NOT SOLVED
editimage.php shows a blank page
GD1 and GD2 gives blank page. I have then tried with Imagemagic which does not give a blank page - but no rotation...

Quote:
Resize - e.g. thumbnails: NOT SOLVED
only works with new images after the upgrade... . All the old images remain the same size
The resizing does not work at all even after updating counters, info etc. in maintanance. This is quite an important function. Please help...
BWJ is offline   Reply With Quote
Old January 15th, 2008, 12:40 PM   #4 (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
shoot me some access via PM
- AdminCP / FTP
Zachariah is offline   Reply With Quote
Old January 16th, 2008, 05:36 AM   #5 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Sounds like a problem I had once when migrating..

This CAN happen if you migrate using a shell command like wget

To test if it is that problem:
1. check one image file.. back up the thumb, image and original on your harddisk.. delete these three on server and then restore them with ftp client from your harddisk..
2. test resizing and rotating with THIS image
If it now works.. you have the same problem I had..
If it still doesnt work.. then its another problem..

What happened to me:

I commandline gzipped the site and fetched it on the other server..
the problem is.. i was logged in as root.. so all the files were owned by root now.. and all permissions got set to "owner root"

Only new files were working...

I couldnt even chmod the image files with my ftp client: Error-> no permission..
I could only delete the files with ftp client.
When copying the same file AFTER deleting it.. it worked..

So the First time i fixed the problem by making a backup of file directory with FTP client on my local harddisk... then deleting the directory on server.. and then restoring with ftp client..

Now ownership of files was no longer root but "nobody" and it worked..

Happened to me a second time.. i found a tool to change ownership of files (but cant remember what its called )

THIS DOES NOT HAPPEN IF YOU MIGRATE USING STANDARD FTP CLIENT to transfer the files. If you used standard ftp client.. then its another problem..
Luc
Luciano is offline   Reply With Quote
Old January 16th, 2008, 09:53 AM   #6 (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
Yep the file system where the images are stored.

All files needed CHMOD 777.
- When the files were moved they were all CHMOD 644. After chmod all images 777, resize was ok.

I used: WinSCP
Quote:
Free SFTP, FTP and SCP client for Windows
http://winscp.net

It has a nice recursive CHMOD for files and sub-folders.
Zachariah is offline   Reply With Quote
Old January 18th, 2008, 08:56 AM   #7 (permalink)
BWJ
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 42
Quote:
Originally Posted by Zachariah View Post
Yep the file system where the images are stored.

All files needed CHMOD 777.
- When the files were moved they were all CHMOD 644. After chmod all images 777, resize was ok.

I used: WinSCP

http://winscp.net

It has a nice recursive CHMOD for files and sub-folders.
Thank you for your help and effort!

http://winscp.net > nice to know for another time
BWJ is offline   Reply With Quote
Old January 18th, 2008, 09:02 AM   #8 (permalink)
BWJ
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 42
Quote:
Originally Posted by Luciano View Post
Sounds like a problem I had once when migrating..

This CAN happen if you migrate using a shell command like wget

To test if it is that problem:
1. check one image file.. back up the thumb, image and original on your harddisk.. delete these three on server and then restore them with ftp client from your harddisk..
2. test resizing and rotating with THIS image
If it now works.. you have the same problem I had..
If it still doesnt work.. then its another problem..
Yes I used SSH with Putty...!

I tried 1) and 2) and would not say that the rotating is working (It is not really a big deal...). I guess what Zachariah suggest is the answer.
[/quote]

Thank you very much Luc for your very thorough answer! Your help is very appreciated
BWJ is offline   Reply With Quote
Reply


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
upload images benster Photopost Pro How Do I...? 0 June 27th, 2007 05:06 PM
Cannot Upload Images davidwca Photopost Pro Bug Reports 4 September 10th, 2006 10:01 PM
Can't upload images echocron5772 Photopost Pro How Do I...? 3 June 21st, 2006 01:43 PM
Cannot Upload Images JoyB Installs and Upgrade - vBulletin 3.5.X 1 June 20th, 2006 08:25 AM
Images Won't Upload dieselpowered Installs and Upgrade - vBulletin 3.0.X 14 August 23rd, 2005 09:41 AM


All times are GMT -5. The time now is 02:23 AM.

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