[solved] Call to undefined function: stat_total()

Please post all install related problems here. Visit this forum first for troubleshooting.

[solved] Call to undefined function: stat_total()

Postby macangelo on Mon Dec 10, 2007 06:16

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 Dec 10, 2007 19:26, edited 1 time in total.
my sites made with phpwcms (most of it):
http://www.eyelikeit.com
macangelo
 
Posts: 608
Joined: Sat Nov 29, 2003 13:19
Location: Düsseldorf

Postby DF6IH on Mon Dec 10, 2007 07:04

Hi,

you have any [PHP] Code inside ?

Jürgen
Little YAML howto /Updating 1.1,RC4->1.3.5 ASK FOR UPDATE WEEKS
User avatar
DF6IH
 
Posts: 1535
Joined: Mon Jan 10, 2005 17:10
Location: Weinheim, nr. Heidelberg

Postby macangelo on Mon Dec 10, 2007 07:39

Hi,

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

macangelo
my sites made with phpwcms (most of it):
http://www.eyelikeit.com
macangelo
 
Posts: 608
Joined: Sat Nov 29, 2003 13:19
Location: Düsseldorf

Postby DF6IH on Mon Dec 10, 2007 07:45

jepp ;)

I looked up the place in the trunc version 29.10.2007 and thats exactly the place where outside php is evaluated..
Little YAML howto /Updating 1.1,RC4->1.3.5 ASK FOR UPDATE WEEKS
User avatar
DF6IH
 
Posts: 1535
Joined: Mon Jan 10, 2005 17:10
Location: Weinheim, nr. Heidelberg

Postby macangelo on Mon Dec 10, 2007 08:44

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
my sites made with phpwcms (most of it):
http://www.eyelikeit.com
macangelo
 
Posts: 608
Joined: Sat Nov 29, 2003 13:19
Location: Düsseldorf

Postby DF6IH on Mon Dec 10, 2007 08:48

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:
Little YAML howto /Updating 1.1,RC4->1.3.5 ASK FOR UPDATE WEEKS
User avatar
DF6IH
 
Posts: 1535
Joined: Mon Jan 10, 2005 17:10
Location: Weinheim, nr. Heidelberg

Postby macangelo on Mon Dec 10, 2007 19:27

Hi DF6IH,

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

Have great evening

macangelo
my sites made with phpwcms (most of it):
http://www.eyelikeit.com
macangelo
 
Posts: 608
Joined: Sat Nov 29, 2003 13:19
Location: Düsseldorf

Postby DF6IH on Mon Dec 10, 2007 19:31

No reason .. ;)
Little YAML howto /Updating 1.1,RC4->1.3.5 ASK FOR UPDATE WEEKS
User avatar
DF6IH
 
Posts: 1535
Joined: Mon Jan 10, 2005 17:10
Location: Weinheim, nr. Heidelberg

Postby DeXXus on Mon Dec 10, 2007 20:07

DF6IH wrote:No reason .. ;)

Two heads can be better than one ;-)
User avatar
DeXXus
 
Posts: 2166
Joined: Fri Nov 28, 2003 05:20
Location: USA - Florida


Return to phpwcms Installation Troubleshooting English

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests