Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


webpages file not found error?

  • BlaeceAelf

    I'm running version 1.5.2 of phpwebsite with webpages installed.  If I create a page and set it as the front page, it shows up there.  If I create a page and attempt to view it otherwise (using the view button, or adding it to the menu and viewing from there), I get a page not found.  The url provided by view is http://url.com/webpage/3 (the number obviously varies based upon the page created).  I am recieving a page not found in my error log:

    [Fri Aug 15 10:55:51 2008] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/xxx.xxxxxxxx.com/webpage

    Any ideas as to how to fix this would be greatly appreciated.

    • BlaeceAelf

      Well, I figured out the issue.  If anyone else runs across this issue, goto your website directory /config/core/ and edit your config.php file.  Change the

      define('MOD_REWRITE_ENABLED', TRUE);

      line to


      or if you want, you can setup .htaccess and enable the mod_rewrite module in apache and do it that way.  As a note, if you run across this issue, and resolve it with the above method, you will need to recreate any webpages you have already built as they are tagged with the mod_rewrite URL instead of the full URL (if you start with mod_rewrite disabled in apache and in the config.php file and change it the other way, the same requirement will apply).

      Well, I hope this helps someone else out.


  • boxcarp

    Thanks for this info.
    If you want to enable mod_rewrite in htaccess here is code:

    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^.*$ index.php

  • sarah22

    Hi blaeceaelf , i am facing the same problem in my website from two days ago.
    Thanks for stating this thread it help me a lot.
    You can found best kind of latest online gambling casinos on these links , play free latest gambling casinos here. Enjoy playing latest casino bonuses.