This is a pretty odd problem, I honestly have no idea what is causing it, but it does seem powweb related and was happening with my old gallery1 install as well. I hoped upgrading to 2 would fix it, but sadly, it didn't.
So what is the problem? Everything in my gallery works pretty much perfectly and looks behaves the way it should. I can upload pictures using the form, from my local host and from external websites...seemingly unless that website is hosted by powweb. I am trying to pull photos from my husbands powweb hosted site onto my powweb hosted site and I keep getting the error "The web page you specified is unavailable". I can take the url that I entered into gallery and put it in a browser and see the pics and index just fine...I can use that url to download/view pics in google desktop's photo viewer. I decided to try some other powweb sites (http://directory.powweb.com/) and for each one I got the same error (though admittedly I only tried a pretty small sample). I can import from almost any other site just fine
Any thoughts?
Last Run Details:
Gallery version = 2.0 core 1.0.0
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7d PowWeb/1.1
Database = mysql 4.1.9-log
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Gd
Operating system = FreeBSD clust01-www05.powweb.com 4.11-RELEASE FreeBSD 4.11-RELEASE #1: Sat Ma i386
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.50
Posts: 32356
please post a sample powweb url with images. then we can debug this in our own g2 installs.
Posts: 10
Sure, this is the site I'm trying to get images from:
http://bigamericanparty.com/images/georgia/
Posts: 32356
works for me.
using G 2.0.1. but we haven't changed related code for ages. so older G 2 version should be fine too.
please post a phpinfo link.
FAQ: What information is required when I ask for help in the forums?
Posts: 10
Here ya go:
http://www.fritty.com/gallery2/phpinfo.php
The phpini file I have is from powweb and was slightly modified (I was hoping to somehow fix this problem using it, I was having the problem before I uploaded it). It didn't work, its likely I didn't modify it correctly or it has nothing to do with anything :S
Posts: 10
I can give you a test login and album if that would help?
Posts: 32356
you say you can add items from other websites, but not from powweb websites.
and i say, i can add items also from powweb websites.
so it must be your php/webserver/ powweb<->powweb connection.
maybe start by enabling buffered debugging.
FAQ: How to set/use Gallery in debug mode?
and then try it again. in the debug output, there may be some hints why it doesn't work.
if not, you'll have to add more $gallery->debug(); statements in modules/core/classes/helpers/WebHelper_simple.class
Posts: 10
"so it must be your php/webserver/ powweb<->powweb connection."
Thats what I'm thinking...I'll try debug mode now.
Posts: 10
Wow okay thats a lot of information there in debug mode, this bit looked important:
file_exists(/www/f/fritty/htdocs/gallery2/g2data/cache/entity/0/0/7.inc) getParameter id.adminGroup for core plugin file_exists(/www/f/fritty/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/core/ItemAddFromBrowser.inc) file_exists(/www/f/fritty/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/core/ItemAddFromServer.inc) file_exists(/www/f/fritty/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/core/CreateThumbnailOption.inc) file_exists(/www/f/fritty/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/exif/ExifDescriptionOption.inc) getParameter addOption for exif plugin file_exists(/www/f/fritty/htdocs/gallery2/g2data/cache/module/exif/0/0/0.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok fsockopen(bigamericanparty.com, 80, , , 1) Error 60: 'Operation timed out' retrieving http://bigamericanparty.com/images/georgia/
I'll be happy to post the whole thing if you need it...
Posts: 32356
fsockopen(bigamericanparty.com, 80, , , 1) Error 60: 'Operation timed out'
well this comes directly from php.
ask powweb what the reason could be. maybe they're blocking something...
Posts: 10
will do, thanks! I'll post back here when I found something out from them.
Posts: 10
small update, I still haven't heard from powweb yet but...based on some comments in several different powweb threads (involving fsockopen and server clustering and load balancing) I decided on a whim to try using
http://localhost.bigamericanparty.com instead of http://www.bigamericanparty.com
NOTE bigamericanparty.com is not my domain, I'm fritty.com
Guess what? it worked, BUT!
http://localhost.bigamericanparty.com/images/georgia/ still doesn't work
Any ideas? I know this must be a powweb thing for sure, but I'm growing a bit impatient waiting for a reply from them (I posted on their forums and also opened a support ticket).
Posts: 10
fyi I'm still waiting to hear back from Powweb on this, my problem was escalated and I should hear something today.
Posts: 10
Well I finally heard back from powweb.
"The consensus here is that we are not going to be able to help you with this.
Your problem was looked at by tier two and three techs and they just don't see
it working with our system."
So I guess that's that.
Posts: 32356
heh, ok. at least an answer
Posts: 13
I'm wondering if this problem ever got resolved?
When POWWEB migrated to their new servers, they set restrictions so that you cannot just type a folder name in a URL and view the files in that folder. That's how I set up my photos in my POWWEB site last year, and a few months ago I stopped being able to access them.
The solution (found out from POWWEB support) is to:
log into OPS,
click on Site Tools,
click on .htaccess editor,
click on Open Directory Browsing,
select the folder that you want access for browsing contents through a URL (all subfolders by default will also allow access)
I appreciate this thread was old, but it might help someone on POWWEB.