Installing Gallery2
|
singel
Joined: 2008-06-10
Posts: 9 |
Posted: Mon, 2010-04-19 11:54
|
|
I changed my provider to one.com and tried to install Gallery2.3.1. I keep getting the message that I need to put the login.txt in the directory. The installer accepts this code but with the next step it instructs me again to put the login.txt (this time with a different code). I pointed to the node: http://gallery.menalto.com/node/59927 but the say that Gallery is incompatible with PHP5.3 and cannot work. They instruct me to use Gallery 3 but I'm unable to import my 5000+ files, and I need the module customfield. Can someone pls telle me what to do? Thx |
|

Posts: 1555
This is incorrect. Gallery2 is fully compartible with php 5.3.x.
Your host seems to have something screwed up and is just trying to fob you off instead of fixing it.
--
dakanji.com
Posts: 16503
Just to clarify, 2.3 was incompatible with PHP 5.3.x, but the current version of G2, 2.3.1, is compatible. So your host appears to have old information.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 9
Thx for your help. One.com finally did something after I pointed them to some resources and your remarks. I installed Gallery 2.3.
But I can't login to my site. I get the error: HTTP/1.1 200 OK Date: Wed, 21 Apr 2010 16:39:03 GMT Server: Apache
X-Powered-By: PHP/5.3.2 Set-Cookie:
G2SETUPSID=34222a604977b30e51352e99f26c82f7; path=/ Expires: Thu, 19 Nov
1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate,
post-check=0, pre-check=0 Pragma: no-cache Connection: close
Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator,
and inform them
of the time the error occurred, and anything you might have done that
may have caused the error.
More information about this error may be available in the server error
log.
I got in version.dat :
1.3.0
2.3
Thx
Posts: 16503
That's the wrong version. That's 2.3, which isn't supported under PHP 5.3. You need to get the next point release which has the minor changes to make it compatible with 5.3.
http://gallery.menalto.com/downloads
The version is 2.3.1
If you're still getting this error:
Then you'll need to look at or have your host look at the server's error logs (not access logs) to see why the server is generating a 500 internal server error.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 1555
Actually, That is the correct data in the versions.dat file for v2.3.1 ... at least that is what I have in mine. I suspect this file may not have been updated between 2.3 and 2.3.1.
Worryingly though, the OP said he installed 2.3 rather than 2.3.1 and 2.3 as you pointed out, is not php 5.3 compatible.
--
dakanji.com
Posts: 16503
My versions.dat shows:
1.3.0.1
2.3.1
I can't remember if that's a fresh install or an upgrade.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 9
I know, I'm asking a lot, but could anybody out here look into the problem I have. The server (info : http://www.retinaproject.be/info.php) runs dramatically slow. I can't log in with my admin name & pass. If I request a forgotten password: I can login through that page. Whatever else I do: no avail; after a lot of time: either a blank page (safari mac) or a option to save the main.php (firefox mac) altough it shows in the statusbar: done.
The people at one.com tell me they don't understand what's causing the problems. I think their server isn't configurated as it should.
Thx
Posts: 16503
It's not, or, as at most low-end cheap hosts, they've oversold the server and it's overloaded. Your phpinfo page doesn't even load for me, it's timing out because it's taking so long to load.
My advice, find a different host, especially since they "don't understand what's causing the problems"
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 9
Do you have suggestions for a server that's reasonable priced for a large databese?
Thx anyhow
Posts: 9
I meant a provider.
Posts: 16503
Here's my opinion:
http://gallery.menalto.com/node/88391#comment-310594
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
hi, i have troubles in installinf the galleryyou can look through the log in rar archive, please
thanks
Posts: 16503
Gallery version: 1.2.0.8 File integrity: Ok SVN install: No PHP version: 5.2.11 cgi PHP memory limit: 28MThat's a really old version of Gallery, get the latest version from here:
http://gallery.menalto.com/downloads
I'd recommend also bumping the memory limit to at least 32MB. This link explains how:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
Which could easily explain the failure of installing the core module. And also explains exactly why you got the message in the other thread you started. In the future, please don't post about the same problem in multiple threads.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
Hi, nivekiam !
As you recommended,
I just downloaded the latest version of the gallery and tried to install it onto my server. the same problem occured. My server has 28 MB limit, do I need have to have 32 MB or I can make changes in the script or somewhere? I read http://codex.gallery2.org/Gallery2:FAQ#PHP_memory_limit_-_Why_do_I_get_the_error_Allowed_memory_size_of_Xxx_bytes_exhausted.3F , followed the instructions but it did not help.
Do I need to chnge htaccess in the root or where? (should I write php_value memory_limit 32M)?
Posts: 16503
Where did you change the setting?
If you changed it in .htaccess and that didn't change it, then try the ini_set method in main.php:
ini_set("memory_limit","32M");
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
1)added to htaccess:
php_value memory_limit 32M
Run installation again - same effect.
2) added into main.php
ini_set("memory_limit","32M");
By bу way, which place in main.php should I put it?
Any place after <?php ?
same topic: Fatal error: Out of memory (allocated 7340032) (tried to allocate 1245184 bytes) in /usr/home/artquest/www/gallery/modules/core/CoreModuleExtras.inc on line 2202
Posts: 16503
Yes, after <?php should be fine.
Post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16503
Yes, after <?php should be fine.
Post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
ok,
done /gallery/phpinfo.php
Posts: 16503
Can you post a working link?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
here it is ...
http://www.artquest.com.ua/gallery/phpinfo.php
Posts: 16503
Yep, memory limit is still at 28MB, if you changed the .htaccess and/or main.php and it still doesn't increase that you'll need to contact your host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
if I change the .htaccess, my website gives error 500 Internal Server error
if I change main.php - it results in installation error mentioned above.
Why does the gallery installation wizard say Success in first steps when checking (28 MB is OK) ? If it does not work with 28 MB ?
My host says they can not enlarge the limit because it is set for everyone.
So, I think there is nothing we can do? I can not use the gallery?
Can you suggest something else please so that it can fit my server?
Posts: 16503
Unfortunately the installer was never updated and still checks for only 16MB.
I've used Gallery for nearly 7.5 years, I don't know what else is out there that's any good.
My suggestion, find a quality host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
ок, thank you very much for helping out!