Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Fatal error: Call to undefined function: parse()...
I’ve searched other forum posts and the FAQ without any luck and I’m stumped!
No matter what I try, I consistently get this error …
“Fatal error: Call to undefined function: parse() in /home/mysite/public_html/lib/txplib_misc.php on line 1309”
… while trying to install Textpattern 4.0.3 (a new installation, not an update). It occurs immediately after clicking the “I did it” button (yes, I did install the config.php file correctly).
I’ve searched the FAQ and haven’t found this particular error addressed anywhere, but uploaded all the files, directories and sub-directories again anyway (twice more).
The site is hosted on Site5.com, running PHP 4.4.1 and mySQL 4.1. I also have an older version of Textpattern (v4.0) running at another site on the same host and it installed (and runs) without any problem.
What could I be doing wrong? Can anyone suggest where to find a solution?
Thanks for any help you can offer.
—- Bob.
— Bob
Offline
#2 2006-03-13 00:42:58
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Fatal error: Call to undefined function: parse()...
Your ‘txpath’ setting in config.php is incorrect. It should probably be /home/mysite/public_html/textpattern
, looks like you have it set as /home/mysite/public_html
.
Alternatively, this should work:
$txpcfg['txpath'] = dirname(__FILE__);
Alex
Offline
Re: Fatal error: Call to undefined function: parse()...
Duhhhh….
Smack me upside the head. That fixed it. I thought that line was generated automagically, so I didn’t even check it on the setup page until you mentioned it. It was incorrect there.
Thanks for your help, zem…. Wow! quickest response time ever, too. Just a couple of minutes from post to reply. You guys really are the best!
Thanks again,
—- Bob.
— Bob
Offline