Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-11-21 12:42:09

faxtion
New Member
Registered: 2010-11-19
Posts: 1

Error in txplib_misc

I upgraded my textpattern install to 4.3.0 and was greeted with a error in the images admin tab.

Looked like there was an additional letter on line 2121

This is the line that was causing an error:

return ihu.$img_dir.'/'.$id.$thumbnail.$ext;

I changed it to:

return hu.$img_dir.'/'.$id.$thumbnail.$ext;

and all seemed to be working normal.

Last edited by faxtion (2010-11-21 12:43:08)

Offline

#2 2010-11-21 12:50:17

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,392
Website GitHub

Re: Error in txplib_misc

faxtion

Hmmm, this shouldn’t happen. If that new constant doesn’t exist then it should be created and point to your existing installation. Not sure why it’s not being automatically created in your case.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2010-11-21 23:55:11

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Error in txplib_misc

faxtion, does Diagnostics (TXP/Admin/Diag) say anything (any modified or old files, apart from txplib_misc.php)?

Bloke wrote:

Not sure why it’s not being automatically created in your case.

Old code came out from the cave? (cached compiled code).

Last edited by Gocom (2010-11-22 00:04:38)

Offline

Board footer

Powered by FluxBB