Forced into the Upgrader.

quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 05:51


Gallery version (not just "2"): 2.0
PHP version (e.g. 4.3.11):4.3.11
PHPInfo Link (see FAQ): http://certainlynot.com/phpinfo.php
Webserver (e.g. Apache 1.3.33): linhost219
Database (e.g. MySql 4.0.11): MySql 3.23.49
Activated toolkits (e.g. NetPbm, GD): I forget/no way to check at the moment.
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 1.0): all

Thank you all for an amazing system.I have had gallery installed and running fine for a couple of months (on godaddy.com no less!). Today I visited my site only to be redirected to the upgrader. I dont know if this is a built in feature in gallery.

The problem is that I am having the same permissions error that has been mentioned in other threads:
http://gallery.menalto.com/node/34836?highlight=upgrader%2Cpermissions

I would love to know if I can either
A. Solve the permission problem (can't find a solution that works for me in the forum)
B. Avoid upgrading. As I hadn't planned on upgrading, I'm not really sure how I got into this mess.

Thank you in advance,
quniform

P.S. I have never posted on a forum before so pardon me if I do not have the propper etiquette. Or if I have not provided the neccessary technical information.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 12:54
Quote:
Thank you all for an amazing system.I have had gallery installed and running fine for a couple of months (on godaddy.com no less!). Today I visited my site only to be redirected to the upgrader. I dont know if this is a built in feature in gallery.

that depends.
if your site is a multisite, e.g. installed by godaddy and not yourself, then this might be normal.
but if you yourself downloaded gallery2.zip from our download site and uploaded it on godaddy.com etc, then this is not an automated feature and it's a bad sign.

B: No
A: Ask godaddy to do: chmod -R 777 on your g2data directory, they can solve it for you.

 
quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 15:12

Thanks. Do to my ignorance I am having trouble communicating with godaddy. They are telling me that permissions are set correctly – g2data and everything in it are 777 (but Upgrader still disagrees).
I guess I am unclear about what having godaddy change the settings will do. Can you breifly explain so I can ask them properly.
Gratefully,
quniform

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 17:26

can you briefly confirm one of my theories?
theory 1: you have downloaded gallery2.zip and extracted and uploaded it yourself to godaddy.com via FTP.
theory 2: godaddy offered a 1 click installation / preinstalled g2

 
quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 17:43

Theory 1 is correct.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 18:03

ok, then what's going on here?
- you didn't upload the latest g2 / you didn't change anything.
- but it starts the upgrader

can you enable "immediate" debug mode and post a link to your main.php?FAQ: How to set/use Gallery in debug mode?

 
quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 18:28

http://www.certainlynot.com/gallery2/main.php

Changes I have made:
I have changed the matrix theme around some (putting my changes in a 'local' directory of course).
Also created my own theme based on matrix called 'megan'

Also, I recently added some modules called 'tutorial1', 'tutorial2', and 'html'. They are based on the tutorial at http://txtdump.com/g2dev/
relating to thread http://gallery.menalto.com/node/28570?highlight=sidebar

P.S. I don't know if this is related at all, but the only other problem I have had is that a few days ago my mysql db was rejecting me because it said it had more than 50 sessions active (50 is the max) – I get about 50 visitors a month so I doubt I actually had more than 50 sessions active.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 18:37

- try http://www.certainlynot.com/gallery2/lib/support/ -> cache -> delete db ... cache (all but derivative)
- did you change something recently (between the moment when it last worked and when it started going to the upgrader)?

 
quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 19:04

– ok, cleared cache.
– the last thing I did was copy sidebar.tpl from the matrix theme to the 'local' directory so I could begin editing it.

Here's that main page again with the new debug results
http://www.certainlynot.com/gallery2/main.php

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 20:23

well, i can't explain the output and what happened.

first thing to try:
chmod -R 777 /home/content/q/u/n/quniform/html/gallery2/g2data/

only godaddy can do that.

 
quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 20:41

Thanks for tryin'
One more thing.
What is the difference between me setting permissions to 777 in an ftp program and godaddy doing it?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 21:24

godaddy has more permissions. if they do
chmod -R 777
(don't ignore the "-R")
then it work. if you do it, it *might* work.

what you can try:

foo.php
<?php system('chmod -R 777 /home/content/q/u/n/quniform/html/gallery2/g2data/'); ?>

put foo.php to your website and browse to foo.php . maybe that fixes it. else ask your host.

 
quniform

Joined: 2005-11-11
Posts: 8
Posted: Fri, 2005-11-11 22:56

Tried it. No go.
Thanks for all your help today.
I'll try godaddy again and let you know what happens.
+Q