#1 April 17, 2014 9:20am

luciono
Member
Registered: April 2, 2014
Posts: 9

error when create new page

Hi all!!


i have a strange problem with bigtree cms.
when i create a new page this is created correctly in the backend, but when i click on link on webpage this get an 404 error.


the reason of 404 is wrong url created automatically when page is created.


this example show the problem:


this is link created automatically when i create a new page:
"www.example.it//home-page/consu....."


instead of:
"www.example.it/consu....."


now, for solve this, i need to edit mysql table, removing manually "/home-page/" from bigtree_pages table


can you help me to solve the problem????
thanks a lot.


Luciano

Offline

#2 April 18, 2014 3:21pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: error when create new page

I would set the route and path columns to an empty value for the homepage. That should fix the issue. I believe this happening was fixed in a subsequent release but I can't remember which one.

Offline

#3 April 19, 2014 10:43am

luciono
Member
Registered: April 2, 2014
Posts: 9

Re: error when create new page

hi,
i have removed "home-page" from "route" and "path" but now when i create a new page i get this url:


http://www.example.it///consulenze-spec … test-page/


i have look the table "bigtree_pages" and new page have this "path":


//consulenze-specialistiche/test-page


how i can remove the // added automatically when create a page??


thanks a lot for you help!!
Luciano

Offline

#4 April 20, 2014 8:15pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: error when create new page

Sadly I'm not sure why you're still getting the empty route. My best advice would be to upgrade your /core/ folder to the one from the 4.0.3 release.

Offline

#5 April 21, 2014 3:23am

luciono
Member
Registered: April 2, 2014
Posts: 9

Re: error when create new page

thanks for you help, but i have already tryed to upgrade to 4.0.3 but after this update i get an error on "Pages" in backend and i can't create a new page or edit the existing page.


here is the post with error:
http://www.bigtreecms.org/discussion/di … er-upgrade


thanks for your help!!
Luciano

Offline

#6 April 21, 2014 10:42am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: error when create new page

Super strange sad I don't know what to tell you, unfortunately.

Offline

#7 April 17, 2014 12:55pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: error when create new page

What version of BigTree are you running? You may also want to verify that your homepage has a id of 0, a parent of -1, and its route and path field are empty.

Offline

#8 April 17, 2014 2:14pm

luciono
Member
Registered: April 2, 2014
Posts: 9

Re: error when create new page

hi timbuckingham,
thanks for your reply.
Unfortunately i don't know what is the version of BigTree installed. I have found this BigTree preinstalled and in bottom of admin page i can't show version... (see image attached)




exist another method for see what version i have installed???
for question of home page ID how can i see it??
in section "pages" on backend, the home-page is the first.
you can see in this image:





thanks a lot!!
Luciano

Offline

#9 April 17, 2014 2:37pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: error when create new page

You'll need to look in the bigtree_pages MySQL table to check on the homepage id/route/path issue.
To find out what version you're on (it looks like this one may have branding removed) you'll want to look in /core/admin/router.php - it should be defined early in that script.

Offline

#10 April 18, 2014 7:04am

luciono
Member
Registered: April 2, 2014
Posts: 9

Re: error when create new page

this is what i see in the "bigtree_pages" table

bigtree_pages_2.jpg

instead the version of BigTree is this:

// BigTree Version

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.