Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-21 18:10:44

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

German warning on swedish site

Out of nowhere these messages appear on my site. The message is written in german but my site is in swedish(!) I have changed a thing lately so I´m very confused…

<br/><code>
Warning: Cacheverzeichnis konnte nicht erstellt werden: ‘mypath\filesfilecache’ in mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 104</code>

<code>
Warning: Cachefile konnte nicht zum Schreiben ge�ffnet werden: mypath\filesfilecache\30ad32b50769f0a13012b57abc2c6296 in mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 104</code>

edit: I run the site in live-mode so it shouldn´t show messages like that…(?)

Last edited by skoggy (2006-02-21 18:11:53)

Offline

#2 2006-02-21 22:28:19

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: German warning on swedish site

This is caused by a plugin. If you switch to Testing mode, it should tell you which one.

Those error messages are generated by PHP, not Textpattern. Perhaps your hosting company uses a German install of PHP.


Alex

Offline

#3 2006-02-22 09:01:54

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: German warning on swedish site

It might be a problem in my code I figured since when visiting a individual article on my site there are no error messages. Have tried both debug and testing-mode but no trace of a plugin in the messages but lots of other errors (like comment count and stuff) are reported.

Also tried to deactivate the plugins one by one with no positive effect.

Guess I have to investigate my tags and code…

Offline

#4 2006-02-22 23:32:21

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: German warning on swedish site

It’s definitely a plugin (eval’d code). Textpattern will tell you which one if it can, but that’s not always possible.

From the message, it looks like a cache plugin.


Alex

Offline

#5 2006-02-23 00:30:05

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: German warning on swedish site

Sounds reasonable… but even when all plugins are deactivated my site still generate this: Warning: unknown_tag in …mypath\textpattern\publish.php on line 916 in Live mode

May be in place to mention that I´ve had some problems with the Live search plugin before. Could very much be the reason to all the (german) cache messages.

In debugging mode it´s quite awful:
<code>
Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: artcat in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 94

Notice: Undefined variable: divimg in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 138

Notice: Undefined variable: i in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 183

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: artcat in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 94

Notice: Undefined variable: divimg in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 138

Notice: Undefined variable: i in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 183

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: artcat in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 94

Notice: Undefined variable: divimg in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 138

Notice: Undefined variable: i in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 183

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: artcat in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 94

Notice: Undefined variable: divimg in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 138

Notice: Undefined variable: i in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 183

Notice: Undefined variable: comments_count in …mypath\wwwroot\textpattern\publish.php on line 775

Notice: Undefined index: REQUEST_URI in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 72

Warning: unknown_tag in …mypath\textpattern\publish.php on line 916

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: count in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 233

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: artcat in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 94

Notice: Undefined variable: divimg in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 138

Notice: Undefined variable: i in …mypath\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 183

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775

Notice: Undefined variable: comments_count in …mypath\textpattern\publish.php on line 775</code>

Offline

#6 2006-02-23 01:21:33

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: German warning on swedish site

Sounds reasonable… but even when all plugins are deactivated my site still generate this: Warning: unknown_tag in …mypath\textpattern\publish.php on line 916 in Live mode

Plugins aside, are you running a stock txp 4.0.3? I can’t see any way that could occur in an unmodified copy of Textpattern. (If it can, we need to know how so we can fix it)

As for the others: in test and debug mode, you should be getting a more descriptive error message that, in most cases, identifies the tag that caused each error. That won’t be the case for all errors, but I’d expect at least some of those to include that message. My best guess is that you’re running an old or modified version of txp, or that a plugin is interfering with txp’s error reporting.

Either way, a message along the lines of ..txplib_misc.php(459) : eval()'d code on line.. always indicates a plugin.


Alex

Offline

#7 2006-02-23 11:43:56

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: German warning on swedish site

I´m running 4.0.3 unmodified.

Anything else I can test?

Offline

Board footer

Powered by FluxBB