Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-03-01 05:56:54
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 277
problem with Plesk server (Parallels)
I’ve prepared the website with textpattern and testing it’s working fine with my localhost and other Linux based servers, but when i upload to the Plesk server (Parallels), website not works fine !
some of example errors are:
Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given while parsing form None on page default
Warning: include() [function.include]: Failed opening ‘D:\inetpub\vhosts\ramin.com\httpdocs\textpattern/textpattern/lib/txplib_misc.php’ for inclusion (include_path=’.;./includes;./pear’) in D:\inetpub\vhosts\ramin.com\httpdocs\textpattern\index.php on line 68
Fatal error: Call to undefined function txp_status_header() in D:\inetpub\vhosts\ramin.com\httpdocs\textpattern\index.php on line 71
Note: I’ve installed TXP4.5.7 and checked my PHP version on the server it’s PHP5.2.17
Offline
Re: problem with Plesk server (Parallels)
Hi
Given the warnings:
Warning: include() [function.include]: Failed opening ‘D:\inetpub\vhosts\ramin.com\httpdocs\textpattern/textpattern/lib/txplib_misc.php’ for inclusion (include_path=’.;./includes;./pear’) in D:\inetpub\vhosts\ramin.com\httpdocs\textpattern\index.php on line 68
it seems it trys to use a local path, have you updated the path to site in prefs and config.php?
Offline
Re: problem with Plesk server (Parallels)
raminrahimi wrote #288662:
Warning: include() [function.include]: Failed opening ‘D:\inetpub\vhosts\ramin.com\httpdocs\textpattern/textpattern/lib/txplib_misc.php’ for inclusion (include_path=’.;./includes;./pear’) in D:\inetpub\vhosts\ramin.com\httpdocs\textpattern\index.php on line 68
Double check your directory structure – do you have httpdocs\textpattern\textpattern
on your website? If so, you’ve got an extra textpattern
in there, which might be causing the problem. Did you use Plesk to install Textpattern, or upload via FTP?
Offline
#4 2015-03-02 18:24:44
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 277
Re: problem with Plesk server (Parallels)
i’ve installed on my localhost, if i upload to linux server that will works fine, but on Plesk windows not works fine !
Offline
Re: problem with Plesk server (Parallels)
The fatal word:
windows
Offline
Re: problem with Plesk server (Parallels)
Have a look in Plesk to see if there’s an option to use a new PHP; 5.2.17 should be OK, but the errors may be solved be a newer version.
Offline
Re: problem with Plesk server (Parallels)
Also, it might be a plugin issue – what plugins are you using? Is etc_query
used?
…might also be open_basedir
or safe mode specific – who’s your host, Ramin?
Last edited by gaekwad (2015-03-03 14:40:58)
Offline
Re: problem with Plesk server (Parallels)
raminrahimi wrote #288662:
Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given while parsing form None on page default
Note: I’ve installed TXP4.5.7 and checked my PHP version on the server it’s PHP5.2.17
This looks like etc_query
complain, indeed. It requires at least PHP 5.3.10 on windows.
Offline
#9 2015-03-04 09:25:37
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 277
Re: problem with Plesk server (Parallels)
I contacted the hosting provider, they upgraded the PHP versions and other extensions and now working fine :-)
But, when i use Permanent link mode to Title for SEO it will not works 404 error :-(
i think .htaccess not works with Plesk server !
Offline
Re: problem with Plesk server (Parallels)
raminrahimi wrote #288738:
i think .htaccess not works with Plesk server !
It’s more likely IIS, the Windows web serving software. You may need to translate the .htaccess into Windows-native directives. This might be helpful: www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfig
Offline
Pages: 1