#1 2002-11-12 09:44:05

dbullen
Member
2002-11-12
6

Problems Installing

I am having problems installing... 
I get errors like this at the top of everypage
Using IIS 

Notice: Undefined variable: prefixe_include in C:Inetpubwwwrootphotogalleryincludeconfig.inc.php on line 23

Notice: Undefined variable: prefixe_include in C:Inetpubwwwrootphotogalleryincludeconfig.inc.php on line 24

Notice: Undefined index: default_page in C:Inetpubwwwrootphotogalleryincludeconfig.inc.php on line 56

Notice: Undefined variable: isadmin in C:Inetpubwwwrootphotogallerylanguageenglish.php on line 167


I have mysql installed and working fine with other php scripts. 
I have sucessfully created a database for phpwebgallery

Anybody know what's happening?

Offline

 

#2 2002-11-12 10:58:17

dbullen
Member
2002-11-12
6

Re: Problems Installing

** Broken link**

Offline

 

#3 2002-11-12 11:02:17

dbullen
Member
2002-11-12
6

Re: Problems Installing

I set global to on and errors to error_reporting = E_ALL & ~E_NOTICE

Now the errors are gone. But when I run through the install and create the admin user when I get to the end to login the pw fails. 
Have tried reinstalling a few times with the same issue

Offline

 

#4 2002-11-12 11:07:33

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13882

Re: Problems Installing

ok, I see the pb : IIS doesn't accept not declared variables...
It works fine with Apache but I still have this kind of pb with IIS.

1. in include/init.inc.php, insert 

Code:

$prefixe_include = "";

before

Code:

include_once( "./include/config.inc.php" );

2. in include/init.inc.php, insert 

Code:

$isadmin = false;

before

Code:

include_once( "./language/".$user['language'].".php" );

3. in config.inc.php, delete the line

Code:

$conf['default_page']               = $row['default_page'];

Those modifications are maid for the version 1.2.1 but you can do it by yourself if you don't want to wait for this release.

Offline

 

#5 2002-11-12 11:21:46

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13882

Re: Problems Installing

I set global to on and errors to error_reporting = E_ALL & ~E_NOTICE

Now the errors are gone. But when I run through the install and create the admin user when I get to the end to login the pw fails
Have tried reinstalling a few times with the same issue

can you tell me what happens more precisely ?

Offline

 

#6 2002-11-12 11:32:43

dbullen
Member
2002-11-12
6

Re: Problems Installing

It's fixed now, I had two php.ini files on the drive. I was editing the wrong one. 
Now everything works, except the the part that makes thumbnails if a user didn't upload them. I tried 1 and 2.x Same problem

Offline

 

#7 2002-11-12 11:34:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13882

Re: Problems Installing

Now everything works, except the the part that makes thumbnails if a user didn't upload them. I tried 1 and 2.x Same problem

ok, what is the pb exactly ? Have you gd installed ?

Offline

 

#8 2002-11-12 11:44:17

dbullen
Member
2002-11-12
6

Re: Problems Installing

What is GD, I'm new to php. Been running a IIS Webserver for a while now, but just getting into the Scripts. Just installed PHP a few days ago.

Offline

 

#9 2002-11-12 11:50:28

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13882

Re: Problems Installing

to create thumbnails, you need to have a library called GD installed. This is a library for PHP used to handle picture manipulation.
I give you three dll, corresponding to GD version 1, GD version 2 and a version of GD handling Gif format : http://www.z0rglub.com/phpwebgallery/do … php_gd.zip

Offline

 

#10 2002-11-12 14:27:11

dbullen
Member
2002-11-12
6

Re: Problems Installing

Doesn't anyone know how to install GD Library?
I'm Running IIS 6.0 w/ PHP Version 4.2.3

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact