Upgrade Instructions From Version 1.5-RC2

mikeleeb

Joined: 2007-07-13
Posts: 11
Posted: Thu, 2010-12-23 19:12

This Version 1.5-RC2 came with our website but is no longer supported. We have very little experience working with website features such as this. We want to update, moving all the images and text to the latest free version but need clear simplistic instructions. At the moment access to the gallery webpage has recently become limited to the first index page only but all the files, images, etc appear intact on the server...

http://greatlakeschorus.org/photos/

Michael

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-12-23 19:47

Try this guide:
FAQ: Can I update from G1 -> G2?
____________________________________________
Like Gallery? Like the support? Donate now!

 
mikeleeb

Joined: 2007-07-13
Posts: 11
Posted: Thu, 2010-12-23 19:55

Thanks! Looks promising!

Michael

 
mikeleeb

Joined: 2007-07-13
Posts: 11
Posted: Sun, 2011-01-02 14:48

Happy New Year!

Ran into a few snags. I downloaded the preinstall.php, uploaded gallery2, extracted it, then when going through the preinstallers installation wizard first it says the php is set for 12m instead of 16m and tells me...

"Warning: Your PHP is configured to limit the memory to 12Mb (memory_limit parameter in php.ini). You should raise this limit to at least 16MB for proper Gallery operation. If you are using Apache, create a file named .htaccess in the main Gallery directory with the following content: php_value memory_limit 16M"

I don't know how to do any of that so I proceeded to the next step of setting up the link which looked ok. Then when I got to the step of loging into the data base after setting the mysql type, entering host, username, and password, into the wizard it gave me the error...

"Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'greatlakeschorus.org' (111) in /hermes/bosweb/web232/b2326/ipw.greatlakeschorus/public_html/gallery2/lib/adodb/drivers/adodb-mysql.inc.php on line 365
greatlakeschorus.org: Can't connect to MySQL server on 'greatlakeschorus.org' (111)"

Any suggestions?

Michael

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2011-01-02 18:22

Those are older values. You can get away with 16M if you're not on a shared server, but I found 32M works best on a shared server.

Either way, you're going to need to increase the memory limit. On my VPS where I'm the only one on the server, Gallery doing nothing is already consuming about 11MB of memory.

Your host name for your DB is probably not your domain name. You'll need to contact your host to get specific information about that as every host is different.
____________________________________________
Like Gallery? Like the support? Donate now!

 
mikeleeb

Joined: 2007-07-13
Posts: 11
Posted: Sun, 2011-01-02 22:26

I will check the DB, thank you!

I'm a novice at all this. How do I change to the 32MB?

Michael

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2011-01-02 22:43

This guide might help more with changing the memory limit:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?

Depending on your host and the restrictions they've put into place some methods may or, others may not and you might not be able to change it altogether.
____________________________________________
Like Gallery? Like the support? Donate now!