G2 works in beta 3 for Yahoo

lmalanti

Joined: 2005-05-20
Posts: 10
Posted: Wed, 2005-05-25 02:36

I was never able to use previous versions of gallery with Yahoo as my host provider due to the .htaccess issue. With G2 beta 3 I am now able to load the software to there server (they told me to delete the htaccess file from the initial FTP download.). Yahoo was even kind enough to sugges g2 v3 as an option for me; they even loaded it on there server to test for me !

I still have some issues to work out as my previous posts indicate, but at least I am much further along than in previous versions.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-05-25 08:20

nice. let us know of your issues / restrictions on yahoo hosts if you can't get any further.

 
lmalanti

Joined: 2005-05-20
Posts: 10
Posted: Thu, 2005-05-26 06:16

Do you mind reviewing my previous post for any suggestions. I am getting a blank white screen for certain processes.

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=30733

 
ikmyer

Joined: 2005-09-29
Posts: 4
Posted: Thu, 2005-09-29 21:18

what is g2 v3 ??

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-09-29 21:21

g2 v3 doesn't exist. whoever wrote v3 doesn't know what he wrote.
during development of g2, we had some development releases, alpha and beta. we had beta 1 to beta 4. with v3, the user most probably meant beta 3, which is an obsolete version.

 
LemonHead

Joined: 2005-09-30
Posts: 25
Posted: Fri, 2005-09-30 07:55

I just loaded g2 v5 and its much smoother than previous versions. I have Yahoo as my web host and previous installs took hours. However, I am now having problems loading pictures. I only see a blank rectangle. If I select a view of 1024x768 (full view) the picture magically displays. Unless I do this selcetion my album displays no pictures just rectangles and text.

Please help. I am so close now !

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-30 08:08

there's no "g2 v5". the current release is G 2.0, which is the final release of G2. everything before were development releases, everything what comes from now on are updates.

do you get any warnings in the install/index.php -> system checks page? please copy the results of the tests here.

 
LemonHead

Joined: 2005-09-30
Posts: 25
Posted: Fri, 2005-09-30 08:18

I recived an error message that there were 39 files missing. I would hate to have to re-load all the files, but I have no idea which 39 are missing. I extracted the files via WinZip to my local PC and then FTP'd them to Yahoo via SmartFTP. The FTP crashed at one point, but I thought I picked up at the last file. Also I can not edit an album, it just gives me a blank page.

Get system details; useful for copy/paste into G2 support forum.

Last Run Details:

Gallery version = 2.0 core 1.0.0
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache/1.3.33 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
Database = mysql 4.1.12
Toolkits = Exif, Gd
Operating system = FreeBSD robs-p2-wh-test.biz 4.10-YAHOO-20040606 FreeBSD 4.10-YAHOO-20040606 #0: i386
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-09-30 08:50

Another option is to upload the zip or tar.gz file to the server and use a little php script to extract the files.

One example:
<?php exec('tar -xzf galleryfilename.tar.gz') ?>

For zip file:
<?php exec('unzip galleryfilename.zip') ?>

However, it's not going to do you much good since G2 needs at least 16MBs of memory and Yahoo only gives you 8MBs. Which, if GD is only only toolkit available will not cut it. Meaning even if you get the files uploaded and everything 100% you'll probably still have problems deleting photos or albums or creating thumbnails, etc.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-30 09:04

i guess yahoo disabled exec stuff, so this will probably not work.

 
LemonHead

Joined: 2005-09-30
Posts: 25
Posted: Fri, 2005-09-30 12:31

What other toolkits should I see is available from Yahoo. If they have others available will g2 work even at 8mb ? I currently have Coppermine and it works at 8mb.

Latly when I use the script suggested above to load the file how does it know here to load the file within my server ? If I extract to my root will it automatically extract to the root ?

I hope I can use G2 my users would love the download features of pictures from there PC to the website.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-09-30 13:34

ah, so if they disabled exec, then NetPBM and Imagemagick are out of the question and GD is your only choice. If you have Coppermine working on yahoo, then the only real suggestions I have are to stay with it, it's not that bad and it's a bit better than G1 or changing hosts.

You're not going to get G2 working on Yahoo anytime soon that will make you and your users happy. If Coppermine does work with 8MB and only using GD, maybe there is some more optimization the G2 devs can do to trim G2 down, but G2 does a lot more work than Coppermine does, so I don't know.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-30 13:48

i may be wrong about the disabled exec thing, but just take a look at the other yahoo threads here:

http://gallery.menalto.com/node/37210

someone asked them about the memory limit and netpbm, the answer was no and no.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-09-30 14:02

It wouldn't surprise me if they have disabled it seeing as how they don't even allow 'hidden' files on their system (that's files beginning with a period on *nix type systems for those who don't know)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
LemonHead

Joined: 2005-09-30
Posts: 25
Posted: Fri, 2005-09-30 15:10

Can anyone suggest a web hosting provider where I will not have any issues when using G2. I chose Yahoo because they provide a lot of storage for 20 bucks, so if I move to a different host provider storage would be important also.

 
LemonHead

Joined: 2005-09-30
Posts: 25
Posted: Fri, 2005-09-30 15:14

Per Yahoo customer service
*********************************************
Dear Yahoo! Customer,

Thank you for writing to Yahoo! Web Hosting.

Yes, the memory_limit is set to 8MB at Yahoo! Web Hosting. Currently,
there is no plan to increase that limit. It's a warning, so you should
be able to run Gallery fine.

Please do not hesitate to reply if you need further assistance.

Regards,

Edwin

Yahoo! Customer Care
***************************************************************************
Dear Yahoo! Customer,

Thank you for writing to Yahoo! Web Hosting.

Which version of Gallery did you download? I just download Gallery 2.0
beta3 and installed on our server without any problem. It never asked
about .htaccess file.

Please do not hesitate to reply if you need further assistance.

Regards,

Edwin

Yahoo! Customer Care
********************************************************************************************

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-30 15:19

i repeat: .htaccess is not required for G2. if you want to use the short urls / g1 -> g2 redirects (url rewrite module), only then you need the .htaccess file.

and if they don't allow changing the memory limit, you wouldn't be able to change it with a htaccess file either.

 
hansphoto
hansphoto's picture

Joined: 2005-10-23
Posts: 5
Posted: Sun, 2005-10-23 00:45

Edwin:
I appreciate your efforts to help but I am still having difficulty installing Gallery 2.0.1 on my website. I have uploaded gallery-2.0.1-typical.zip to a directory called Gallery2 on my yahoo website.
I can not get this file to unzip. I have created a PHP file in the same directory as the zip file in question with the following line:
<?php exec('unzip gallery-2.0.1-typical.zip')?>

Nothing I try allows me to unzip the gallery so I can install the gallery program.
Please help.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-10-23 01:18

i don't think yahoo allows php exec / system calls, so the unzip method won't work for yahoo.
you'd have to upload G2 with FTP.

but again, i wouldn't spend a lot of time trying to get g2 to work on yahoo.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Sun, 2005-10-23 05:03
pob wrote:
Can anyone suggest a web hosting provider where I will not have any issues when using G2. I chose Yahoo because they provide a lot of storage for 20 bucks, so if I move to a different host provider storage would be important also.

I use Dreamhost successfully with G2 and they are $8/mo if you go with their 2 year deal. I got 5G of space and like 120G of xfer / month, but I'm not sure what their current deal is.

There are is also the Gallery Certified Webhosts which would be an even better choice.

 
hansphoto
hansphoto's picture

Joined: 2005-10-23
Posts: 5
Posted: Mon, 2005-10-24 14:31

valiant:

I do think Yahoo allows files to be unzipped in file manager. How else would Edwin(Yahoo Customer Care) be able to install Gallery2 ? I would love to know the secret.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-10-24 17:38

you don't need to use server side extraction, you still can use FTP to upload the x hundred/thousand files. which is painful and error-prone of course, but it works.

maybe you can unzip using the file manager of yahoo. how should i know the admin interface of yahoo?
then why not use the filemanager there...

but still: i highly doubt that G2 can run (reliably) on yahoo. i'd recommend changing the webhosting company.

 
peter_k

Joined: 2005-09-15
Posts: 134
Posted: Tue, 2005-10-25 11:24
valiant wrote:
which is painful and error-prone of course

I won't argue that server extraction isn't better, but uploading the unzipped (on your local machine) G2 with FTP isn't that bad either, if you use something better than IE for doing it (FileZilla is perfect for most uses, and not painful or error-prone).

The odd 20 minutes that it takes for uploading the unzipped G2 with FTP might be quicker than figuring out how to make unzip work on your hosting provider's server (if supported at all) ...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-10-25 11:46

it's 20 minutes if your connection is fast, the server very responsive and nothing happens.
we heard of several users (and gallery devs) that it can take more than an hour or hours to upload the full package.

and we had dozens of users with ftp upload errors that were either silently ignored (and gave a funny installation error) or made it even more painful to upload.

so uploading G2 with FTP is certainly the worst method to get g2 on the server. but sometimes it's necessary and sometimes it's not even painful :)

 
peter_k

Joined: 2005-09-15
Posts: 134
Posted: Tue, 2005-10-25 14:38

ok, got the point.
I live in broadband heaven and use a decent FTP client, so didn't think of the other cases :-)

 
hansphoto
hansphoto's picture

Joined: 2005-10-23
Posts: 5
Posted: Wed, 2005-11-02 19:14

If you are uploading G2 via ftp are you creating each directory manually? I counted well over 100 directories. How are you keeping track of which ones you have loaded and which ones you are populating with files? This seems like an ominous task and very prone to error.
I am still tiring to find and answer to how to decompress G2 on my webserver. I am not a programmer and I would like to use the tools G2 has to offer for my webpage.

I have many years of experience in building computers but I have never come up against such a 'software' brick wall.
Thank you to any one who can offer some help.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-11-03 00:11

nono, we're not talking about human errors.
when using ftp, we talk about using a smart ftp application (any free ftp program for ms windows) where you can upload g2 with a single drag and drop operation. just move the gallery2 folder on the server with your mouse. it will take care of all directory creations etc.

we're talking here about the errors that occur during the transmission, errors that are under the radar of the ftp application. and we're also talking about errors that the ftp program silently ignores. or errors that the ftp program doesn't ignore and asks for human interaction.
all this makes ftp transfer of thousands of files quite tiresome.

 
hansphoto
hansphoto's picture

Joined: 2005-10-23
Posts: 5
Posted: Thu, 2005-11-03 01:15

Thanks, I will try it. Wish me luck

Please excuse my ignorance, my expertise is in photography.