How to upgrade g2.3 to g3beta2?

hkkk

Joined: 2005-10-25
Posts: 43
Posted: Tue, 2009-08-04 09:55

I already have gallery-2.3 on my openbsd/i386/apache1.3/php5/mysql-5.0.83 server,
this gallery-2.3 server have 15 albums.

Now i want upgrade to gallery3 beta2, what shall i do?

Can i do that? How?
Please help, thank you.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-08-04 16:02

There's no "upgrade" path. Similar to G1 > G2 you need to install G3 in a separate location on the same server, then you can use the G2 Import plugin in G3 to import your G2 images and data. Then you can rename your G2 directory and then rename your G3 directory to replace your G2 install.

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

 
hkkk

Joined: 2005-10-25
Posts: 43
Posted: Tue, 2009-08-04 17:36
nivekiam wrote:
There's no "upgrade" path. Similar to G1 > G2 you need to install G3 in a separate location on the same server, then you can use the G2 Import plugin in G3 to import your G2 images and data. Then you can rename your G2 directory and then rename your G3 directory to replace your G2 install.

The sound like very hard to do that. :(

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-08-04 18:05

It's not really.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
hkkk

Joined: 2005-10-25
Posts: 43
Posted: Wed, 2009-08-12 10:16
nivekiam wrote:
There's no "upgrade" path. Similar to G1 > G2 you need to install G3 in a separate location on the same server, then you can use the G2 Import plugin in G3 to import your G2 images and data. Then you can rename your G2 directory and then rename your G3 directory to replace your G2 install.

Any succeed to do that? (upgrade G2 to G3)
If, which version do you use?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-08-12 13:42

I've successfully imported images from a G2 install into G3, so have many others. I don't understand your question. Which version of what?

G2 = 2.3

G3 = most recent code from git, this explains how to get the most recent code for G3:
http://codex.gallery2.org/Gallery3:Upgrading

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

 
skunker

Joined: 2005-02-04
Posts: 344
Posted: Wed, 2009-08-12 14:19

Hey nivekiam,
Thanks for making that explanation. Before I try it, I'm concerned about the current URLS I have indexed in the search engines. If I update from G2 to G3, what will happen to my indexed URls? Will they get dropped because of the new URL structure? Or, is there some kind of htaccess modification I can do to keep my URLs intact?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-08-12 15:44

The URLs will be different, at least using default settings.

If you are not using URL Rewrite in G2, then you are out of luck.

If you are using URL Rewrite in G2, then I think there's hope. However, right now, I believe the current rewrite rules in the .htaccess that ships with G3 are only setup to remove index.php out of the URL and make a clean looking URL. Don't quote me on this, but I believe it's planned to come up with a way to map G2 URLs to G3, or if you're a URL rewriting expert, start hacking away :) Though I'm not sure it can be done purely with rewrite rules or if some of the code will need to change.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
skunker

Joined: 2005-02-04
Posts: 344
Posted: Wed, 2009-08-12 17:01

I'm using the URL rewrite module that was available for G2:
http://codex.gallery2.org/Gallery2:Modules:rewrite

Maybe the original developer can adapt it for G3.

 
Ponch

Joined: 2003-04-30
Posts: 24
Posted: Sat, 2009-08-15 03:44

Has anyone done an upgrade from v2 to v3 on a Windows 2003 server? I've upgraded from V1 to V2 with help from these forums many moons ago ... will once again need some help if possible.

Thanks in advance gallery gurus ;)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-08-15 03:47

Windows isn't supported. So the best you'll probably get from support is "try it" :)

I haven't tried the G2 import module for G3 on Windows and have no idea if it'll work or not. Please test and report back.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Mon, 2010-04-26 07:01

Hi,

I am trying to upgrade from 2.2.6 to 3 and I am following the steps given in this page "http://codex.gallery2.org/Gallery3:Upgrading". Pardon me for pasting this content.

------------------------------------

Upgrading from G2 to G3

This should have its own page and more details but it's a start:
There's a module for g3 which imports your g2 albums / users / comments.

the process is like this:

1. backup your g2 (data folder and database)
2. put g3 on your server, e.g. to a parallel folder to your g2.
3. install g3
4. enable the comments module and the g2 import module in g3
5. configure g3's g2 import module and run the import process.
6. rename your g2 folder to something else (e.g. from "gallery" to "gallery_old") - optional
7. rename your g3 folder to what the g2 folder used to be (e.g. "gallery3" to "gallery") - optional
8. add the mod_rewrite rules from g3's g2_import module page to your .htaccess file to ensure that the g2 urls continue to work - optional
9. delete your g2 folder ("gallery_old"), it's no longer needed. you can delete your g2 database as well. (but keep your backups) - optional

Retrieved from "http://codex.gallery2.org/Gallery3:Upgrading"
---------------------------------

The install seems went fine as per the following status. But I am stopped after that because I don't know how to launch the site. I tried to launch it like http://www.example.com/gallery3 or http://www.example.com/gallery3/index.php. But it is prompting me old g2 site. And as per above steps, it looks like I need to configure something in /~/gallery3/application/configconfig.php before I run steps "4 & 5".

php installer/index.php -h localhost -u xyx -p xyx -d xyx
Your Gallery has been successfully installed!
We've created an account for you to use:

Could someone unblock me.

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-04-26 10:34
Quote:
And as per above steps, it looks like I need to configure something in /~/gallery3/application/configconfig.php before I run steps "4 & 5".

There's nothing to configure there.

Where is your g2 site located versus your g3 site?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Tue, 2010-04-27 01:24

Hi,

My site's directory structure is like this:

$cd /~/g2data

$ ls
albums cache locks plugins_data smarty versions.dat

$ cd /~/public_html/name/

$ ls
LICENSE bootstrap.inc config.php.MIGRATION-CHANGE-BACKUP images install main.php upgrade
MANIFEST cgi-bin embed.php index.php lib modules
README.html config.php gallery_remote2.php init.inc login.txt themes

$ cd /~/gallery3

$ls
LICENSE README application index.php installer lib modules robots.txt system themes var

thank you very much for quick reply

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-04-27 01:37

gallery3 needs to be in your public website and from the looks of it, it doesn't appear to be.

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

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Mon, 2010-05-24 05:37

Hi,

I was able to run upgrade steps successfully but the gallery main page can not be opened due to this error. Please let me know if there is any clue on this error.

I imported all the Gallery 2.2.6 information and previous galleries fine.
Error
Error (ERROR_STORAGE_FAILURE) :

* in modules/core/classes/GalleryStorage.class at line 480 (GalleryCoreApi::error)
* in modules/core/classes/Gallery.class at line 202 (GalleryStorage::search)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 317 (Gallery::search)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 222 (GalleryPluginHelper_simple::_fetchAllParameters)
* in modules/core/classes/GalleryCoreApi.class at line 238 (GalleryPluginHelper_simple::getParameter)
* in modules/core/classes/GalleryTranslator.class at line 362 (GalleryCoreApi::getPluginParameter)
* in modules/core/classes/GalleryTranslator.class at line 290 (GalleryTranslator::getDefaultLanguageCode)
* in modules/core/classes/Gallery.class at line 535 (GalleryTranslator::init)
* in init.inc at line 134 (Gallery::initTranslator)
* in main.php at line 76

thanks

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-05-27 14:37

Any clue on the above error. Could someone let me know if you happen to fix such issue. My site is currently down due to the above error.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-05-27 17:29

Try this FAQ:
FAQ: I get ERROR_STORAGE_FAILURE when adding new photos or creating albums, what should I do?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-05-27 18:11

Hi,

Thank you for quick pointer. But I followed both the sections given in the FAQ. The first one about db table "g2_SequenceId". I don't see this table at all in my gallery3 database. And the second one seems fine regarding path.

And to give more details on my env. I am pasting here some details from config.php file.

$gallery->setConfig('data.gallery.base', '/home/xxxxx/gallery3/');

$storeConfig['type'] = 'mysqli';
$storeConfig['hostname'] = 'localhost';
$storeConfig['database'] = 'xxxxxxxx';
$storeConfig['username'] = 'xxxxxxxx';
$storeConfig['password'] = 'xxxxxxxx';
$storeConfig['tablePrefix'] = 'g2';
$storeConfig['columnPrefix'] = 'g_';
$storeConfig['usePersistentConnections'] = false;
$gallery->setConfig('storage.config', $storeConfig);

$gallery->setConfig('baseUri', '');

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-05-27 18:08

That error message above is coming from your G2 install. That FAQ I linked to would be referring to your G2 install as well. Check the database for your G2 install.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-05-27 18:27

oh! I already deleted g2 stuff once the gallery3 site was up and running after upgrade/migration. I followed exact upgrading steps and every thing went well. But later I was not able to access the site after deleting g2 stuff.

Actually I need to mention one more thing here. I don't know whether my hosting account is called multi site installation because I've drupal site under

/home/www/public_html(drupal site)

And gallery3 based site is under

/home/www/public_html/<gallery site>/

&

/home/www/gallery3/

And my gallery2 based site was like this before and it was used to work fine. Now I upgraded/migrated everything to gallery3 and made sure the same directory structure. Please let me know if the issue is something to do with the above structure.

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-05-27 18:47

The g2 import module for G3 requires a working G2 install on the same server. There is no such thing as a "multi" site install with G3. If your Drupal integration stopped working after deleting G2 that's because it requires G2. There is no integration for G3 yet.

All of G3 has to be publicly accessible. In G2 it was recommended that you store your g2data directory in a non public directory. That's not the case with G3.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-05-27 20:50

oh! I think I confused you by referring drupal site. I just referred it to show that two sites are configured within the same hosting account.

Ok, based on your feedback, I can move complete "/home/www/gallery3/" to public directory. I will try this and see if it helps. Ofcourse I will make sure the paths in config.php file as well.

thanks for confirming the "g2" non public directory.

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Sun, 2010-05-30 06:09

Hi nivekiam,

I think I am almost there. I could able to bring back gallery3 site online using the url something like www.example.com/gallery3. I could login to gallery3 site and able to see old users that were migrated from g2. But I'm getting the same Error (ERROR_STORAGE_FAILURE) when I launch the original site www.example.com. I verified the config.php file under public directory /home/xxx/public_html/<gallery site name>/ and it has following line

$gallery->setConfig('data.gallery.base', '/home/xxx/public_html/<gallery site name>/gallery3/');

I hope this is correct for my configuration?

And /home/xxx/public_html/<gallery site name>/.htaccess file has the following lines. Could you please check these lines and let me know whether I have two different "RewriteRule" because I was prompted to add the first section of lines during migration process.

# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$/<gallery site name>/gallery3/index.php/g2/map?path=$1 [QSA,L,R=301]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . - [L]

RewriteCond %{THE_REQUEST} /d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /v/([^?]+)\.davmount(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_view=webdav.DownloadDavMount&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /w(/[^?]*)?(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_controller=webdav.WebDav&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_path=%1 [QSA,L]
</IfModule>

# END Url Rewrite section

Also, I am seeing following additional files and hope they are not required to be modified.

/home/xxx/public_html/<gallery site name>/gallery3/application/config/config.php
/home/xxx/public_html/<gallery site name>/gallery3/.htaccess

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-05-30 14:58

G2 and G3 are 2 totally separate applications. If G2 was installed in the root of your domain at, www.example.com and your g3 install is at www.example.com/gallery3 you're going to have to get rid of your g2 install and just leave the rewrite rules in .htaccess

It appears the config.php file you're talking about is for G2, the change you've made is making G2 think that you've move your g2data directory. That's why you're getting the storage error as there is no proper g2 data in your gallery3 directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Mon, 2010-05-31 16:59

Hi,

I was totally confused and could not resolve it earlier. Hence I wiped out everything after taking backup of my albums and installed gallery3. Now I did launch gallery3 site with url: www.example.com/gallery3. But I was not able to launch it just with url: www.example.com. Could you let me know which line I need to change in /~/application/config.php?

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-05-31 17:15

I have no idea what /application/config.php is or what it's for. Are you referring to gallery3/application/config/config.php? If so, no, there shouldn't be anything you need to change in there. Also if that's the file you're referring to, why is it in your home directory and not under your gallery3 install directory?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Mon, 2010-05-31 18:30

Sorry I typed it wrong. Here is the right location: /~/public_html/<site name>/gallery3/application/config/config.php.

Could you let me know how can I launch my site www.example.com instead of www.example.com/gallery3?

thanks

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Tue, 2010-06-01 07:30

And this is what I modified in /~/public_html/<site name>/gallery3/.htaccess file. I am not sure whether I should move everything under gallery3 dir. to previous directory here /~/public_html/<site name>/?

# You can use the mod_rewrite Apache module to get rid of the
# "index.php" from your Gallery 3 urls. Uncomment the block below
# inside the <IfModule> ... </IfModule> lines and then edit the
# RewriteBase line to match your Gallery 3 URL.
#
# Here are some RewriteBase values:
# Gallery 3 URL RewriteBase line
# ============= ====================
# http://example.com/gallery3 RewriteBase /gallery3
# http://example.com/~bob/photos RewriteBase /~bob/photos
# http://gallery3.example.com/ RewriteBase /
#
# Then just use your Gallery 3 without the index.php in the url.
#
# NOTE: future upgrades of Gallery 3 will overwrite this file! If you
# want these changes to be persistent, talk to your system admin about
# putting this block into your Apache config files.
#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>

I could neither launch the site with url: http://gallery3.example.com nor http://www.example.com. Pleas help.

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-06-01 07:18

First. Do you even have G3 working?

Can you post a link to your site?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Tue, 2010-06-01 07:32

Yes. Here is the working url: http://www.mullapudi.info/gallery3

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-06-01 17:01

I'm getting a 500 server error when trying to access your main site. Possibly a typo in your .htaccess file, maybe something else.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Tue, 2010-06-01 18:29

No, the url is correct and I can launch the same url fine. Please try it now and let me know.

Here is snip from .htaccess file

#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>

thanks

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Tue, 2010-06-01 20:54

Hi,

Please let me know if you are still not able to launch the site. I just clicked on the above url and I am able to see the site fine.

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-06-03 06:42

Hi,

Could someone unblock me on the above issue?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-06-03 07:44

This URL works:
http://www.mullapudi.info/gallery3/

This one does not:
http://www.mullapudi.info/

No change from before for me. If this is where your G2 install is: http://www.mullapudi.info/ then there is no redirection or anything to your G3 install. Since you jumped into an existing thread I re-read some of your posts. I think I see some of the confusion now.

There is no "ugprade" from G2 to G3. They are completely different programs. There is a migration path, but you cannot just place G3 files in your G2 install and upgrade.

You need a working G2 and working G3 install and then just use this module:
http://codex.gallery2.org/Gallery3:Modules:g2_import
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-06-03 14:54

Hi,

I'm sorry if I confused you. Basically I am not doing upgrade or migration this time. I cleaned up everything and installed Gallery3 as a new site install and I am not able to launch the site using : http://www.mullapudi.info/ and only http://www.mullapudi.info/gallery3/. Could you look at my post: Posted: Tue, 2010-06-01 18:29 and let me know what needs to be changed to launch it directly using: http://www.mullapudi.info.

Thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-06-03 15:16

You're getting a 500 internal server error at http://www.mullapudi.info/ You'll need to check your server's error logs (not access logs) to see why. If you simply want your G3 install to be at http://www.mullapudi.info/ then just move everything under your /gallery3 directory to the root of your site.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-06-03 17:32

Ok, I see the following errors log.

[Thu Jun 3 13:27:14 2010] [error] [client 192.18.43.225] File does not exist: /home/xxx/public_html/<sitenamedir>/favicon.ico
[Thu Jun 3 13:27:11 2010] [error] [client 192.18.43.225] File does not exist: /home/xxx/public_html/<sitenamedir>/favicon.ico
[Thu Jun 3 13:27:11 2010] [error] [client 192.18.43.225] Directory index forbidden by rule: /home/xxx/public_html/<sitenamedir>/

It looks like I need to move all the files under gallery3/ to /~/public_html/<sitenamedir>/

Please advice.

thanks

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-06-03 17:32

Ok, I see the following error log.

[Thu Jun 3 13:27:14 2010] [error] [client 192.18.43.225] File does not exist: /home/xxx/public_html/<sitenamedir>/favicon.ico
[Thu Jun 3 13:27:11 2010] [error] [client 192.18.43.225] File does not exist: /home/xxx/public_html/<sitenamedir>/favicon.ico
[Thu Jun 3 13:27:11 2010] [error] [client 192.18.43.225] Directory index forbidden by rule: /home/xxx/public_html/<sitenamedir>/

It looks like I need to move all the files under gallery3/ to /~/public_html/<sitenamedir>/

Please advice.

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-06-03 18:00
Quote:
It looks like I need to move all the files under gallery3/ to /~/public_html/<sitenamedir>/

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

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Thu, 2010-06-03 21:12

Hi,

Thank you very much. I could able to bring up the site after all the files. But the existed gallery is not allowed for changing the permissions or gallery is not writable. Could you look at the attached snapshot and let me know how to modify the mod_rewrite?

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-06-03 21:13

No snapshot. Please don't use imageshack as I can't access that from all locations. Just attach to this thread as a file attachment. (scroll down and clikc on File attachments )
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Fri, 2010-06-04 01:19

I already attached it. Here is the file name of attachment: GalleryIsNotWritable.gif. It is right above your post.

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-06-04 06:38

Ah, it wasn't there when I saw your post. It's not that gallery isn't writable, but the test it does to test if mod_rewrite is working isn't passing.

You'll need to talk to your host to make sure that's working. It could even be because of the ancient, unsupported (by the Apache developers) version of Apache on the server. Apache 1.x is no longer supported and hasn't been for over 2 years. Anyone and everyone running Apache should be running on 2.2.x unless they have a good reason and not a single shared host has a valid reason for not upgrading.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Sat, 2010-06-05 15:26

hi,

I submitted a ticket to get the Apache upgraded. And here is the suggestion they gave me along with the upgraded confirmation.

"The upgrades are finished, it looks like you need to edit a .htaccess file within your application's root directory so have the proper mod_rewrite functionality the application needs."

Please let me know what should I change?

thanks

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Sat, 2010-06-05 15:58

This is what enabled for "mod_rewrite" in my site's .htaccess file.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>

But I'm still seeing the same issues as seen in the above attached snapshot. I can not avoid those errors and can not post any albums. It is a blocker to me.

http://gallery.menalto.com/files/GalleryIsNotWritable.gif

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-06-06 04:37

They didn't upgrade Apache on your server and Apache 1.x is still unsupported, dead software.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
paradesi

Joined: 2005-09-25
Posts: 78
Posted: Mon, 2010-06-07 03:20

I think they upgraded it. At least their upgrade status is showing the status. Later I cleaned up everything and installed gallery3 one more time. This time I did not see errors. I am able to uploaded and change the permissions on the albums. Hope rest of features will work as expected. But I am happy as I am able to continue and explore new features of G3. I like it so far.

thank you for your support.