here I go again, trouble with new pages

So now I am having trouble creating a new page.  I keep getting the following error:  “Not Found

The requested URL /viewPage.php was not found on this server.” When I try to preview the page.

From what I can tell there seems to be an issue with the htaccess. It is located in the root of the directory the dolphin is in but the dolphin is not in the root directory of the site I am working on (if that made sense).  It is as follows:  root/public/new5

Viewpage.php is in the directory as well. Not sure what I am missing here. If something is missing from the htaccess can someone please let me know what to look for. Thanks

 

Quote · 16 Apr 2013

I forgot to mention that I have to keep the Permalinks unchecked or the photo and files pages will not load either. I believe I saw reference to permalinks and page load errors on my research.

Quote · 16 Apr 2013

I assume you are talking about directories for the vhosts off of the "root".  Let's say root =  /var/www/html then you have a directory structure of

root

|_

   _site-1

   _site-2

   _site-3

and your vhosts for each site is mapped to site-1, site-2 and so forth.  Is this correct?  If not, can you show the structure?

 

Geeks, making the world a better place
Quote · 16 Apr 2013

root

|_

  _public

       _site-1

       _site-2

       _site-3

 

original site is hosted out of the public directory, the dolphin site I am currently working on would be _site-3.

Quote · 16 Apr 2013

hope that the above makes sense.

I reviewed a site where the page builder works and found this missing from the htaccess on my troubled site.

RewriteRule ^page/(.*)$  viewPage.php?ID=$1 [QSA,L]
RewriteRule ^HSE$  viewPage.php?ID=HSE [QSA,L]    (missing line in red)

I added it to the troubled site but no effect.

Quote · 16 Apr 2013

still trying to add new pages. Can anyone give me an idea please. This is critical for my site.

Quote · 16 Apr 2013

RewriteRule ^HSE$  viewPage.php?ID=HSE [QSA,L]    (missing line in red)
That line is actually closer to orange, not red, but eh.

That line is not a missing line. Default dolphin installs do not have it. So that has to be something you added for a mod. So take it out. Most likely should not be there for the current site your working on. Better yet, get a fresh copy of the .htaccess from a fresh dolphin zip file that matches your version of dolphin. Do not use any previous installs as a reference.

Anyhow. Your going to need to talk to your host. This is obviously a hosting issue. The webserver is apparently ignoring and not processing the .htaccess files in your sub folders.

You may have one of those weird hosts that require a base be added to the .htaccess file.

So. Try adding this line.

Look for this.

RewriteEngine on

Add this directly under it.

RewriteBase /

If that does not work you will need to have your host look into why the .htaccess files are not working.

https://www.deanbassett.com
Quote · 16 Apr 2013

So I am using Telus as the host (what a nightmare) and they state the rewrite is active as they can see it in the htaccess. I have also learned that I need both a php.ini and .htaccess to make this site work at all. I have an htaccess in the root directory then the htaccess issued by the dolphin setup in the dolphin directory (2 folders in from main root).

I have tried diffrent combos of adding the RewriteEngine on and RewriteBase / but nothing works. Telus has washed thier hands of any further suport as they state this is coding and they don't support coding. Friggin had Telus but this is what I have to work with for now. If there are any other thoughts I would appreciate them, hate to tell my client I spent all this time with Telus for not.

Quote · 16 Apr 2013

after much research I found reference to "AllowOverride All". Is this a potential issue I may have. I can not seem to find where to edit it if so and the Host will not answer my requests so what ever I can do on my own (with the gracious assistance of you all) I will.

Quote · 17 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.