•  » Utilisation
  •  » pwg 1.2 - undefined function is_image()

#1 2002-10-30 23:24:47

alex
Membre
Bonn, Germany
2002-09-15
31

pwg 1.2 - undefined function is_image()

Hello,

i just started to add some pictures to a new category for testing the admin section.
The Option 'update all' under the menu point 'MaJ base d'images' creates this error:
Fatal error: Call to undefined function: is_image() in /home/alex2/public_html/admin/miseajour.php on line 174

-> i added 'include_once( "./include/functions.php" );'  to the file, and 

the creation of the thumbnails also throws an error:
Fatal error: Call to undefined function: is_image() in /home/alex2/public_html/admin/thumbnail.php on line 48

-> i added  'include_once( "./include/functions.php" );' to thumbnail.php

[added]
the same pb is with the file perm.php in the same directory
--

i don't know, if you already solved the problem. if so, just ignore this message!

Alex

Hors ligne

#2 2002-10-31 14:42:36

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12671

Re: pwg 1.2 - undefined function is_image()

very strange if you apply the correction I told here : http://www.z0rglub.com/phpwebgallery/fo … .php?t=312


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#3 2002-10-31 15:08:42

alex
Membre
Bonn, Germany
2002-09-15
31

Re: pwg 1.2 - undefined function is_image()

Yes! You're right. It IS strange.

These errors occured AFTER i applied your correction. Without your correction i wasn't able to use the admin panel at all.

Fact is, with your correction AND the additional include expression i mentioned, it is now possible to use both the admin panel and the "normal user" panel... :D 

But I'm still confused, because it seems that i'm the only one who had these errors!?  :?: 
If you want to examine this pb and need more information about my system's configuration, feel free to ask me.

btw: pwg 1.2 can now also be used with the opera 6.05 browser  :D . pwg1.1 still doesn't...

Hors ligne

#4 2002-10-31 15:14:35

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12671

Re: pwg 1.2 - undefined function is_image()

ok, in isadmin.inc.php, replace

Code:

include_once( "./include/functions.php" );

by

Code:

include( "./include/functions.php" );

and tell me if it works better...


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#5 2002-10-31 16:17:45

alex
Membre
Bonn, Germany
2002-09-15
31

Re: pwg 1.2 - undefined function is_image()

Thank you!
I deleted my added lines and changed the line in isadmin.inc.php.

It WORKS!  Great!

Hors ligne

  •  » Utilisation
  •  » pwg 1.2 - undefined function is_image()

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact