Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
404 file not found for pages [solved for not FancyURL]
#1
I just installed Getsimple 2.03 and it works fine with the default page. On "Website Heatlh Check" is everything green.

1. If I switch to edit a page or change to the upload page, I get a lot of File does not exist (one click creates like 10 log entries)
logs:
Code:
[Mon Jan 24 15:36:39 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:58 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php

Then I created a page and tried to open it from the main menu, but got 404 page not found. I turned on Debug mode and got this:
Code:
[24-Jan-2011 15:38:52] PHP Warning:  unlink(/var/www/www1/admin/install.php): Permission denied in /var/www/www1/admin/inc/common.php on line 142
[24-Jan-2011 15:38:52] PHP Warning:  unlink(/var/www/www1/admin/setup.php): Permission denied in /var/www/www1/admin/inc/common.php on line 147
[24-Jan-2011 15:38:55] PHP Warning:  unlink(/var/www/www1/admin/install.php): Permission denied in /var/www/www1/admin/inc/common.php on line 142
[24-Jan-2011 15:38:55] PHP Warning:  unlink(/var/www/www1/admin/setup.php): Permission denied in /var/www/www1/admin/inc/common.php on line 147
[24-Jan-2011 15:40:29] PHP Warning:  unlink(/var/www/www1/admin/install.php): Permission denied in /var/www/www1/admin/inc/common.php on line 142
[24-Jan-2011 15:40:29] PHP Warning:  unlink(/var/www/www1/admin/setup.php): Permission denied in /var/www/www1/admin/inc/common.php on line 147

I chmod the whole admin folder already to 777 and still get the errors. This is just for testing at the moment, so I am open for experiments Smile

mod_rewrite is enabled and this slug thing looks good as well, I even manually entered the default one "%parent%/%slug%"

//edit: OK, nevermind the unlink errors: http://get-simple.info/forum/topic/1111/...-url-work/
I renamed the temp.htaccess to .htaccess and this fixed it, also removed setup.php and install.php

But still get 404 error on any page I created
Reply
#2
Try this and see if it works. ( It worked for me.)

After you make a new page, go to the file manager and make the new page your index page and then delete the demo page that was the index page. I think this will fix all of your problems.

Bob


disi Wrote:I just installed Getsimple 2.03 and it works fine with the default page. On "Website Heatlh Check" is everything green.

1. If I switch to edit a page or change to the upload page, I get a lot of File does not exist (one click creates like 10 log entries)
logs:
Code:
[Mon Jan 24 15:36:39 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:55 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php
[Mon Jan 24 15:38:58 2011] [error] [client 87.112.36.221] File does not exist: /var/www/www1/admin/"http:, referer: http://www1.disi.me/admin/upload.php

Then I created a page and tried to open it from the main menu, but got 404 page not found. I turned on Debug mode and got this:
Code:
[24-Jan-2011 15:38:52] PHP Warning:  unlink(/var/www/www1/admin/install.php): Permission denied in /var/www/www1/admin/inc/common.php on line 142
[24-Jan-2011 15:38:52] PHP Warning:  unlink(/var/www/www1/admin/setup.php): Permission denied in /var/www/www1/admin/inc/common.php on line 147
[24-Jan-2011 15:38:55] PHP Warning:  unlink(/var/www/www1/admin/install.php): Permission denied in /var/www/www1/admin/inc/common.php on line 142
[24-Jan-2011 15:38:55] PHP Warning:  unlink(/var/www/www1/admin/setup.php): Permission denied in /var/www/www1/admin/inc/common.php on line 147
[24-Jan-2011 15:40:29] PHP Warning:  unlink(/var/www/www1/admin/install.php): Permission denied in /var/www/www1/admin/inc/common.php on line 142
[24-Jan-2011 15:40:29] PHP Warning:  unlink(/var/www/www1/admin/setup.php): Permission denied in /var/www/www1/admin/inc/common.php on line 147

I chmod the whole admin folder already to 777 and still get the errors. This is just for testing at the moment, so I am open for experiments Smile

mod_rewrite is enabled and this slug thing looks good as well, I even manually entered the default one "%parent%/%slug%"

//edit: OK, nevermind the unlink errors: http://get-simple.info/forum/topic/1111/...-url-work/
I renamed the temp.htaccess to .htaccess and this fixed it, also removed setup.php and install.php

But still get 404 error on any page I created
Reply
#3
Thanks for the quick answer....
I feel stupid but how do I make another page the homepage?
Here is the current page layout:
http://ompldr.org/vNzR5Yg
Those are the options on the default homepage:
http://ompldr.org/vNzR5Yw
And here the error, if I try to delete it:
http://ompldr.org/vNzR5ZA
If I try to eneter index on the other page, it changes to: "index-1" and keeps the default one

//edit: I have to edit the default one? But why do I get 404 for totally new pages?
http://get-simple.info/forum/topic/11/chnage-homepage/
Reply
#4
Disi

Go to Pages:

You should see to Pages Listed to your left.

1) Welcome to GetSimple ( Home Page) ( This is now the default Index Page)
2) You said you created a page so what ever that page name is.

To the right of those you will see a # sign and an X

The # sign is to give pages order to pages 1-2-3-4
The X is to delete files or Pages

First go to the Welcome to Get Simple Page Clink the # sign and give it any number other that _ or 1

Then go to the Page you Created and change it to - 1 it now becomes the home Page or index page

Now go Back to Welcome to GetSimple and use the X sign and that will delete the demo page.

I hope thiis helps I am not the best at explaining things.

Bob
Reply
#5
Hmm, doesn't work. The welcome page is now prio 2 and I tried - and 1 for the new one. Keeps coming up, that I cannot delete my homepage and I cannot change "Slug/URL:" to anything else than "index" for this page.

However, I am fine with editing the existing homepage to my needs.
The main problem remains with 404.

Here and example:
http://www1.disi.me/blubb
But uploaded files work:
http://www1.disi.me/data/uploads/radeon3.png

I blame the .htaccess or this rewrite, I guess. But it says all green on the Health Check page Sad
Reply
#6
Question did you check the box that added the new page to the menu?
Reply
#7
I think as long as you have that default page, you won't get anything but 404 on any other pages you add.
Reply
#8
I really appreciate your ideas since I just started with Getsimple today Smile

I went into data/ and deleted the index.xml. Now the originally second page can be set as index and works:
Code:
disi pages # ls
blubb.xml  index.xml
disi pages # rm index.xml
disi pages # pwd
/var/www/www1/data/pages

then I created another "blubb" and the same thing happens... 404 Sad
Reply
#9
Think I would do a fresh install.


disi Wrote:I really appreciate your ideas since I just started with Getsimple today Smile

I went into data/ and deleted the index.xml. Now the originally second page can be set as index and works:
Code:
disi pages # ls
blubb.xml  index.xml
disi pages # rm index.xml
disi pages # pwd
/var/www/www1/data/pages

then I created another "blubb" and the same thing happens... 404 Sad
Reply
#10
OK, done.
But I think there is something wrong with the permissions or something. For example I cannot update the timezone, it says updated but then defaults back to America/New_York.

A little summery:
1. I cannot change the timezone
2. Browsing to edit pages or upload files, generates a lot of file not found in the Apache error log
3. Any page, other than index, cannot be found

4. The CMS is ultrafast and the pages load nearly instantly Wink

What I tried:
1. chmod -R 777 on the whole folder and also tried only data/ or backup/ (this shouldn't matter anyway, since .htaccess overwrites it
2. moved temp.htaccess to .htaccess and not
3. deleted the original index.xml in the data/pages/ folder and created a new one
4. reinstalled the CMS
Reply
#11
It's alive!

Well, I did another reinstall this morning (at work), after a good sleep. I did everything as normal and suddenly it works.

I still get the error, if I enable "Fancy URL", but I can live with that. As least here is some progress. Smile

I also cannot change the timezone. But this also is no real problem.
Reply




Users browsing this thread: 1 Guest(s)