#1 2003-05-13 16:18:05

Me
Guest

Php Problems

Hello,
Can someone help me? I have been trying to use and install several thumbnail gallery systems, however I keep running into problems...

Ive just tried to Install PhpWebGallery, the installation works however on nearly every page I get some sort of Undefined Variable error, this is on every page including the very first installation page??? I also had the same problems with other PHP gallery scripts ive been trying...

Im running, Windows 2000 Server, IIS

I have other PHP systems running perfectly fine, like VBulletin however im just not too sure whats going wrong with these scripts... Can someone please help???

Im not too sure how to check my PHP version if that might be a problem???

 

#2 2003-05-13 16:34:52

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

Re: Php Problems

don't try to find where PHP bugs... all your problems come from IIS ! I'm sorry, to tell you that, but many scripts will bug with this web server. Why not trying Apache instead ?

Offline

 

#3 2003-05-14 00:06:13

Guest
Guest

Re: Php Problems

The problem is im using ASP as well and I already have several sites already set up and working under IIS, ive also got some messag boards running fine under IIS thats why I wanted to keep that, I just thought I might have to change too much to get everything to work on Apache...


All the problems however seem to be with Variables which arent declared under PHP... cant I just declare these??? Sorry if thats a dumb question im more of a Java, C++, Perl, VB programmer, I havent used PHP before...

 

#4 2003-05-14 00:13:14

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

Re: Php Problems

the problem is that I don't have IIS on my computer, I use GNU/Linux. Under Microsoft Windows and IIS, you can try and modify php files for declaring all variables.

Offline

 

#5 2003-05-16 12:33:11

Guest
Guest

Re: Php Problems

Hello,

Thank you for your help :)

Ive managed to just get rid of the errors and get things working by adding "error_reporting = E_ALL & ~E_NOTICE" to my PHP.INI file :)

Im having a bit of a problem with the gallery though, ive set it all up but is it possible to allow people to come onto the site, register with their own Username and Password and then be able to post and view files??? or does the Admin have to add each user please???

 

#6 2003-05-16 13:53:47

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

Re: Php Problems

normally, each user can register and create their own account. The only condition is that the access type is "free" and not "restricted"

Offline

 

#7 2003-05-23 12:17:10

Me
Guest

Re: Php Problems

Thank you 

 

#8 2003-08-20 00:31:34

Guest
Guest

Re: Php Problems

Ive got the same problem, the PHP is not parsing correclty for some reason. I acn't figure out how to upload or do much of anything since all I see is phpcode.

http://worldchaos.no-ip.com:12123/wldkos/images1/phpgallery.jpg

 

#9 2003-08-20 07:24:40

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

Re: Php Problems

this is very strange and it's not the first time I see this on ./admin/miseajour.php ! Here is the portion of code where the PHP parsing seems to stop :

Code:

     32                         // 1. display the category name to update
     33                         echo "
     34                                 <img src=\"".$conf['lien_puce']."\" alt=\">\" /><span style=\"font-weight:bold;\">".$result['name'][0]."</span> [ dir : ".$result        ['last_dir']." ]
     35                                 <div class=\"retrait\">";
     36 
     37                         // 2. we search pictures of the category only if the update is for all or a cat_id is specified

Offline

 

#10 2003-08-20 17:24:30

ilovelittlegirls
Member
2003-08-20
2

Re: Php Problems

is there a fix for this? I tried pasting the code that you displayed where mine was and I still get the same thing.

Offline

 

#11 2003-08-20 23:12:22

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

Re: Php Problems

no, I don't knw how to fix this :-(

Offline

 

#12 2003-08-23 01:51:37

ilovelittlegirls
Member
2003-08-20
2

Re: Php Problems

That sucks. It might be that I am using apache 2.0.47 but still, my whole site runs off php.

Offline

 

#13 2003-08-23 08:58:41

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

Re: Php Problems

have you tried others PHP scripts that create the same kind of problems ?

Offline

 

Board footer

Powered by FluxBB

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