The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery version: 1.5.10
Apache version: 2.2
PHP version (don't just say PHP 4, please): installed from php-5.3.2-Win32-VC6-x86.msi
Graphics Toolkit: installed from netpbm-10.35.74.tgz
Operating system: windows XP SP3
Web browser/version (if applicable): chrome 4.1.249.1064 unknown (45376)
when i open the setup URL http://localhost/gallery-1.5.10/gallery-1.5.10/setup/ as specified in install instructions the setup wizard does not execute instead i get the setup directory content below.
----------------------------------------------------------------------------------------------------------------
Index of /gallery-1.5.10/gallery-1.5.10/setup
Parent Directory
check.inc
check_imagemagick.php
check_mail.php
check_netpbm.php
check_versions.php
config_data.inc
confirm.inc
constants.inc
defaults.inc
diagnostics.php
frame_test.php
ghcc.php
gpl.txt
index.php
init.php
login.inc
mod_rewrite.template
php_value.template
php_value_ok.php
phpinfo.php
session_test.php
write.inc
----------------------------------------------------------------------------------------------------------------
abstract of my httpd.conf file:
PHPIniDir "C:\PHP\"
LoadModule php5_module "C:\PHP\php5apache2_2.dll"
----------------------------------------------------------------------------------------------------------------
then most of the php files I will click on will produce nothing or numerous errors like this.....
errors when selecting http://localhost/gallery-1.5.10/gallery-1.5.10/setup/session_test.php
Warning: date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\gallery-1.5.10\gallery-1.5.10\setup\init.php on line 24
Deprecated: Function ereg_replace() is deprecated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\gallery-1.5.10\gallery-1.5.10\platform\fs_win32.php on line 201
Deprecated: Function ereg_replace() is deprecated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\gallery-1.5.10\gallery-1.5.10\platform\fs_win32.php on line 205
Deprecated: Function ereg_replace() is deprecated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\gallery-1.5.10\gallery-1.5.10\platform\fs_win32.php on line 201
................etc etc.................
----------------------------------------------------------------------------------------------------------------
When i click on diagnostics.php, init.php and some others NOTHING HAPPENS....
----------------------------------------------------------------------------------------------------------------
when i click on http://localhost/gallery-1.5.10/gallery-1.5.10/setup/session_test.php after some errors I get session parameters:
Your session id is 16dc680a770131bd45be660e597d23bd
Page views in this session 1
Server IP address 127.0.0.1
what I am doing wrong?
thanks in advance for your help.
BNAWN a.k.a Bob (not always working Neurone
PS: attached files php.ini and httpd.conf
Posts: 6818
Hello,
Gallery 1 was not adjusted to PHP 5.3.x, so you have to change the error level in your PHP.
For example to: E_ALL & ~ E_DEPRECATED
I also don't know your System Setup. I suggest to install the XAMPP package.
http://www.apachefriends.org/en/xampp-windows.html
And even if i love G1... i suggest to use G2 in your case ..
Jens
--
Gallery 1 Developer
Posts: 4
Hello thank you for your advide. I want to use Gallery1 because it does not require a database that I don't need for my project. So which level of PHP has been tested with Gallery 1.5.10?
Bob
Posts: 6818
It works fine even with 5.3.x, you just need to modify 2 lines of code.
It works out of the box up to PHP 5.2.x
Keep in mind that you need external binaries to make G1 work.
Jens
--
Gallery Developer