Forced into the Upgrader.
quniform
Joined: 2005-11-11
Posts: 8 |
Posted: Fri, 2005-11-11 05:51 |
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: I would love to know if I can either Thank you in advance, 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. |
|
Posts: 32509
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.
Posts: 8
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
Posts: 32509
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
Posts: 8
Theory 1 is correct.
Posts: 32509
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?
Posts: 8
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.
Posts: 32509
- 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)?
Posts: 8
– 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
Posts: 32509
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.
Posts: 8
Thanks for tryin'
One more thing.
What is the difference between me setting permissions to 777 in an ftp program and godaddy doing it?
Posts: 32509
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.
Posts: 8
Tried it. No go.
Thanks for all your help today.
I'll try godaddy again and let you know what happens.
+Q