Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Problem with adding photos by URL

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
wilson

Beginner
Beginner


Joined: Aug 19, 2003
Posts: 18

PostPosted: Thu Sep 04, 2003 11:33 am    Post subject: Problem with adding photos by URL Reply with quote

My gallery is basically working ok. I tried uploading photos by using the URL method. I first created /tmp under the web parent path.

After submitting the URL by typing "tmp", the photo paths were displayed correctly. The I moved on and clicked "add files". A small windows prompted up and the it just turned blank. It didn't response.

Anyone knows how i can fix this problem? Embarassed

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.3.4-pl1
Apache version:
PHP version (don't just say PHP 4, please): 4.3.1
Graphics Toolkit:
Operating system: WINXP SP1
Web browser/version (if applicable):
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Problem with adding photos by URL  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Thu Sep 04, 2003 12:25 pm    Post subject: Reply with quote

make sure that the directory is readable by all users (set perms to 0777 temporarily).
you'll also want to make sure you're typing in the whole URL, not just "tmp/", for example:
http://www.mysite.com/tmp/
Back to top
Offline View user's profile Send private message Visit poster's website
wilson

Beginner
Beginner


Joined: Aug 19, 2003
Posts: 18

PostPosted: Thu Sep 04, 2003 9:00 pm    Post subject: Reply with quote

Thx for the advice. I tried but it still could not fix the problem. As I am using WinXP, I think "0777" is not an issue. I typed out the whole URL. Somehow files under /icons/ were appeared as well.

Anyway, I picked a single file for uploading. The small window prompted up and it turned blank agan. Neutral
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Fri Sep 05, 2003 4:29 am    Post subject: Reply with quote

Re-run gallery/setup and turn DEBUG ON - then post the ERROR message that is generated here.
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Fri Sep 05, 2003 4:32 am    Post subject: Reply with quote

Also what Graphics Toolkit are you using? ImageMagick or NetPBM?
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Fri Sep 05, 2003 7:34 am    Post subject: Reply with quote

is the web server running on your XP machine? if so, is it apache or IIS?
Back to top
Offline View user's profile Send private message Visit poster's website
wilson

Beginner
Beginner


Joined: Aug 19, 2003
Posts: 18

PostPosted: Sat Sep 06, 2003 3:22 am    Post subject: Reply with quote

I turned the debug mode on but I didn't see any error message. Would there be an error log or something?

To the graphics toolkit, I am using NetPBM and I didn't not install ImageMagick.

I am using WinXP with apache.
Back to top
Offline View user's profile Send private message
wilson

Beginner
Beginner


Joined: Aug 19, 2003
Posts: 18

PostPosted: Fri Sep 12, 2003 9:12 am    Post subject: Reply with quote

any input, anyone!? Sad
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Fri Sep 12, 2003 9:19 am    Post subject: Reply with quote

Do you have access to your web servers ERROR LOG?

Does uploading single images work OK?
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Fri Sep 12, 2003 9:31 am    Post subject: Reply with quote

Try here:

http://gallery.menalto.com/index.php?na ... pic&t=6081
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wilson

Beginner
Beginner


Joined: Aug 19, 2003
Posts: 18

PostPosted: Mon Sep 15, 2003 10:59 am    Post subject: Reply with quote

Yes, I've found this from the error log:

[Mon Sep 15 23:43:53 2003] [error] PHP Warning: (null)() [<a href='http://www.php.net/ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' cannot be used twice in Unknown on line 0
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.375000 horizontally to 150 columns.
pnmscale: Scaling by 0.376667 vertically to 113 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision
pnmscale: 0.000000 of bottom row stretched due to arithmetic imprecision

It wasn't working even if I uploaded one picture. I guess size should not be the reason to the problem.

Something is very weird, I uploaded a picture again with "Debug" mode on and all of the sudden it' was working and I was using the host machine. Then i turned off the debug mode and it worked too.

As for completeness, I tried that with another machine as well and then the same problem came back. I turned on the debug mode again, it wasn't working. Switched back to the host machine, it's still not working. Back to point 0 again. How weird!

-__-
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Mon Sep 15, 2003 11:30 am    Post subject: Reply with quote

Found this on GALLERY forums - may help your problem:

http://gallery.menalto.com/index.php?na ... pic&t=8490

Looks like a compression problem with PHP
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
wilson

Beginner
Beginner


Joined: Aug 19, 2003
Posts: 18

PostPosted: Tue Sep 16, 2003 3:19 am    Post subject: Reply with quote

I had a look at the link you gave me from Gallery forums. It suggested that the error was caused by calling "ob_gzhandler" twice without calling "ob_end_clean();".

I searched for the content of the gallery files, and I couldn't find any coding that is calling "ob_gzhandler", so there is nothing I can do.

One more observation, I found that even though the little window turned blank... the picture was uploaded to the album's folder and a thumb version of the picture was created [by viewing the actual file directory]. However, when I viewed the album through gallery, it had no content. =\
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia