Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Problem after changing web hosting
I transfered my site to another hosting, and everything is working fine, exept when I publish new article,
and try to view it, I get this error:
Parse error: syntax error, unexpected ‘>’ in /home/andrijam/public_html/textpattern/publish.php(1003) : eval()’d code on line 42
and the page shows nothing else just that. Have to use back button to get to the site again.
What could this be?
Offline
Re: Problem after changing web hosting
I believe “eval()‘d code”
means it’s plugin related
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Problem after changing web hosting
I have only 6 plugins instaled:
asy_wondertag
gaw_if_comment_preview
rss_suparchive
rss_unlimited_categories
zem_contact_lang
zem_contact_reborn
And funny thing is that article excerpt in archive page is displaying, and on the front page, but only when I trie to open article this error occur.
Offline
Offline
Re: Problem after changing web hosting
Gocom, I tried that, but still no luck. Same error. But everything was fine with my previous hosting. Could this be something hosting related?
Also, when I run diagnostics I get:
Some Textpattern files have been modified:
/lib/txplib_wrapper.php
Last edited by AndrijaM (2008-04-01 18:42:08)
Offline
Re: Problem after changing web hosting
Switch into debug mode, refresh your post and view its source. On the very bottom you will find Textpattern’s tag trace which might contain useful hints for uncovering the culprit.
txplib_wrapper.php is both part of Textpattern 4.0.6 and the older XML-RPC package. Maybe you’ve overwritten the most recent version with something stale?
Offline
Re: Problem after changing web hosting
I had version 4.0.5 on this site. I just upgraded to to 4.0.6 and on diagnostics there are no errors, All checks passed!
Now when I trie to view article, nothing shows, just a blank page. And on debug mode there are no source code, also blank page.
One more thing that I did is that before adding this article, I created new category for it and i assigned that category to this problematic article. I just tried to ad some other article to some other category, and that WORKS!
Correction: when switch back to live, the same error appears again.
Last edited by AndrijaM (2008-04-01 19:16:18)
Offline
Re: Problem after changing web hosting
Looks like the page isn’t rendered at all. Are there any entries in the web server’s error logs?
Edit: What’s the error’s line number you receive with TXP 4.0.6? Is there any raw PHP (<?php ..... ?>
) in the article form?
Last edited by wet (2008-04-01 19:23:47)
Offline
Re: Problem after changing web hosting
OMG, I used raw PHP in article body.
This is what happens when you work 12 hours a day.
I’m sorry about this.
Thanks
Offline
Pages: 1