Permalink and warning problems
-
Hi,
I installed WordPress (3.1.3, Italian language) with the latest iThemes Builder theme, same plugins and configurations (permalink: /year/month/day/postname/) on 2 different webservers (Apache) of my hosting provider.
The first one (PHP 5.2) is working fine, but the second one (PHP 5.3) has the following problems.
1) A warning in the theme layout editor of the admin section (the bold parts of the paths are files and not directories):
“Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/variante000096/httpdocs/wp-content/themes/Builder/lib/layout-engine/modules/class.module.php.bak/images) is not within the allowed path(s): (/var/www/vhosts/variante000096:/usr/share/php) in /var/www/vhosts/variante000096/httpdocs/wp-content/themes/Builder/lib/layout-engine/editor.php on line 1545 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/variante000096/httpdocs/wp-content/themes/Builder/lib/layout-engine/modules/class.module.php/images) is not within the allowed path(s): (/var/www/vhosts/variante000096:/usr/share/php) in /var/www/vhosts/variante000096/httpdocs/wp-content/themes/Builder/lib/layout-engine/editor.php on line 1545”.
2) The link in the home page (using the tag <!–nextpage–> to create a pagination) redirects to …/2011/06/27/200/ whit a 404 error (page not found) instead of redirecting to …/page/2/ (correct).
In both cases I have the same .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressI have temporarly solved the problem n. 1) contacting the system administrator of my hosting provider who changed the PHP configuration of the second webserver: php_admin_flag display_errors Off.
Any suggestion?
Thanks.
Matteo
The topic ‘Permalink and warning problems’ is closed to new replies.