Hi,
after enabling dynamic publishing, i get the message
"Page not found
An error occurs".
Because this message is without details, I substituted this string with the variable $errstr in mt.php to get a detailed message:
"is_readable() [function.is-readable]: open_basedir restriction in effect. File(../plugins/block.mtinclude.php) is not within the allowed path(s): (/www/htdocs/w00f6870/:/tmp:/usr/bin:/www/htdocs/w00f6870:/bin:/usr/local/bin:/usr/share/php)"
My opinion is, that this is no problem with configuration of open_basedir. I search the file block.mtinclude.php, but it isnt present. If i delete all my mt:Include tags in the template "main_index", thy dynamic publishing works. I think, the problem occurs because of the missing block.mt*.php.
Am i right or ist there a different solution for my problem.
Thanks
Christoph
Reported on Movable Type 5

the file block.mtinclude.php should be inside $MT/php/lib
($MT is the root directory of your MT installation)
Maybe somehow PHP doesn't have access to it?
Thanks Shmuel,
there are many block.mt*.php and function.mt*.php files inside the $MT/php/lib directory. It looks like the "block" files represent the container tags (like ) and the "function" files represent the single tags (like ).
Christoph
I'm sorry, the file should be $MT/php/lib/function.mtinclude.php
please check that you have it.
Thanks again,
the function.mtinclude.php file is present in the directory $MT/php/lib. But the error message is because of the missing ../plugins/block.mtinclude.php file. I copied function.mtinclude.php to ../plugins an renamed it to block.mtinclude.php. Now i get a blank page. Is there a problem with Smarty?
Christoph
Update:
I installed MovableType4 and have no problems with dynamic publishing. Maybe there is a php or perl problem? I will reinstall Version 5 and test again.
Regards
Christoph
Hi Christoph,
Did you install some plugins? I guess this error was occurred by plugin.
Hi Yuji,
no i didn't install any plugin. I have installed MT5 Pro again and have the same problem as described above. But the problem occurs only for the website. I have created a blog inside the website, turned on dynamic publishing and have no problems inside the blog. Therefore i guess, it is no problem with my php or perl version. i have got no idea, how to solve. The first thing i can do is a mixing between static publishing for the website and dynamic publishing for the blogs. But if anyone has a solution, please tell me about.
Thanks again
Christoph
Hi again,
now i have added a subfolder to the website url and folder. And now the dynamic publishing works for the website too.
Hi Christoph.
Thanks for trying MT5 again.
are you satisfied with the current solution, or do you want to continue debug the matter?
Shmuel.