Create custom page and 404 nginx error

Hello!

I created page as common instruction in administration bulding pages, but I can't go on new page because error 404.

A rule in nginx config. Can someone help me?

  # pages rewrite
        rewrite "^/page/(.*)$" /viewPage.php?ID=$1 last;
Quote · 27 Sep 2013

I use Nginx and set it up by the Boonex instructions.  I have the rewrites in dolphin_rewrites.conf and include them in the server part of the nginx.conf file.  I have not had to make any changes to the Boonex rewrites.

I have no problems with creating a page.  It could be you have the URL wrong.  In the page builders bring up the page and then click on the preview link.  Look at the URL in your browser to know what URL to use in a link.

Geeks, making the world a better place
Quote · 27 Sep 2013

 I can't see this page - 404 errror. Preview doesn't work! i'm using all rules according http://www.boonex.com/trac/dolphin/wiki/TutorialHowToInstallDolphinOnNginx

I use Nginx and set it up by the Boonex instructions.  I have the rewrites in dolphin_rewrites.conf and include them in the server part of the nginx.conf file.  I have not had to make any changes to the Boonex rewrites.

I have no problems with creating a page.  It could be you have the URL wrong.  In the page builders bring up the page and then click on the preview link.  Look at the URL in your browser to know what URL to use in a link.

 

Quote · 27 Sep 2013

I am not following you.  I thought you meant you created a new page using the page builder and getting a 404.

Please explain in as much detail your problem.

Geeks, making the world a better place
Quote · 27 Sep 2013

I create custom page in page builder. After that I'm click on Preview page and receive 404 error

nginx access log:

2013/09/28 11:05:08 [error] 3101#0: *784 open() "/srv/www-work/center/page/123" failed (2: No such file or directory), client: 212.34.119.51, server: domain.com, request: "GET /page/123 HTTP/1.1", host: "domain.com", referrer: "http://domain.com/administration/pageBuilder.php?Page=123"

In fact, page isn't created

Quote · 28 Sep 2013

It's very strange, but when i uncheck permanent links of different modules error 404 disappear.

And what about simple pages?

Quote · 28 Sep 2013

any ideas?

Quote · 28 Sep 2013

Oh, the preview of the page did not work. 

Let me ask this, did you create a page, add a column and then add content to the page?  A page has to have content.  The way Dolphin works is that you have two tables for pages, you have the table that holds the page name and ID and you have another table that holds the blocks that should be on each page.  If there are no blocks created for the page, then you will get a 404 error because Dolphin builds the page from the table that holds the blocks for the page.  The 404 will come because Dolphin was unable to build the page; thus the page did not exist and the web server returned 404.  Remember that pages in Dolphin are not physical HTML documents but are created on the fly.

Geeks, making the world a better place
Quote · 28 Sep 2013

I understand that page create on the fly. I add new column and add into this block HTML block. Then i try to go on domain.com/page/name_of_page - 404 error

Quote · 29 Sep 2013

i think that smth wrong with of nginx config

Quote · 29 Sep 2013

 

i think that smth wrong with of nginx config

Does it appear that the rewrites are being loaded?  How are you including Dolphin rewrite rules in the Nginx conf?

If you like, you can post your Nginx conf; you can remove any sensitive data you don't want to share.

Geeks, making the world a better place
Quote · 29 Sep 2013

I just forget  insert ";" after include rule))) thanks)

Quote · 29 Sep 2013

 

I just forget  insert ";" after include rule))) thanks)

It is the little things that will trip you up every time.

Geeks, making the world a better place
Quote · 30 Sep 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.