[solved] Call to undefined function: stat_total()

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

[solved] Call to undefined function: stat_total()

Post by macangelo »

Hi,

I tried to update from 1.2.6 to 1.3.5.1 - which I did on other installations several times. I must have done something wrong.

I get into the backend ok. In the frontend I get:
Fatal error: Call to undefined function: stat_total() in /www/htdocs/w006f6e8/a/include/inc_front/front.func.inc.php(2288) : eval()'d code on line 1
I did all db updates and I checked all permissions again.

I looked onto front.func.inc.php and found 'stat_total()' in the first line before '<?php' so I deleted it - no change.

I replaced the front.func.inc.php with the original file - no change.

Any ideas? Thanks a lot

macangelo
Last edited by macangelo on Mon 10. Dec 2007, 20:26, edited 1 time in total.
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hi,

you have any [PHP] Code inside ?

Jürgen
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

Hi,

I'm not sure I understand the question. Do you mean if I run other php applications inside?

macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

jepp ;)

I looked up the place in the trunc version 29.10.2007 and thats exactly the place where outside php is evaluated..
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

OK, I'm back at my desk.

I checked in 'config.inc.php' and enabled '$phpwcms['allow_cntPHP_rt']' - was it that what you meant? Unfortunately it didn't bring any results.

macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

No, not exactly,

first there is a need to know if this is the trunk mentioned before, if so, there might be any extra content in this site which is not found... after the update.

Perhaps a good idea might be to ftp all things again and then check if this site has any further "hacks" or some "phpstats" in Template .. :idea:
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

Hi DF6IH,

you were right! Thank you! The permissions of an external php application had been set wrong.

Have great evening

macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

No reason .. ;)
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

DF6IH wrote:No reason .. ;)
Two heads can be better than one ;-)
Post Reply