Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 06:34:32 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155477 Posts in 21708 Topics by 7734 Members
Latest Member: rofroodoOvego
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: 404 Not Found error after editing the page  (Read 643 times)
midiweb

Offline Offline

Posts: 178


« on: February 13, 2009, 12:52:03 AM »

Hello, I created a page like others but when I want to display this one, I get the following error message and the page is not in the  page directory:


Code:
Not Found
The requested URL //pages/aboutus/mypage.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at www.myhomepage.com Port 80



But the page appears in the main navigation and I can edit it.

I can't understand what went wrong.

Who can help me ?

cheers
« Last Edit: February 13, 2009, 12:08:48 PM by midiweb » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: February 13, 2009, 06:54:06 AM »

Hello,

there is a double slash in your path. Check URL and PATH in your config.php and Pages dir in Wb settings. There should be no slash at the end.

Matthias
Logged
midiweb

Offline Offline

Posts: 178


« Reply #2 on: February 13, 2009, 01:30:34 PM »

I've just checked up the path for pages in Settings:

It's:

Code:
/pages

In Config.php, I have no double slashes:

Code:
<?php

define
('DB_TYPE''mysql');
define('DB_HOST''localhost');
define('DB_USERNAME''username');
define('DB_PASSWORD''pass');
define('DB_NAME''user_wb');
define('TABLE_PREFIX''');

define('WB_PATH'dirname(__FILE__));
define('WB_URL''http://www.homepage.com');
define('ADMIN_PATH'WB_PATH.'/admin');
define('ADMIN_URL''http://www.homepage/admin');

// some mail provider do not deliver mails send via PHP mail() function as SMTP authentification is missing
// in that case activate SMTP for outgoing mails: un-comment next line and specify SMTP host of your domain
// define('WBMAILER_SMTP_HOST', 'mail.example.com');

require_once(WB_PATH.'/framework/initialize.php');

?>

What I don't understand, the error occurs only for the same page and when I create a new page in the main navigation, I get no errors.

But I notice that this page goes in a submenu "About Us" (for instance) and the directory on the server is called: "about-us".

So:

Code:
--About us
-------Curriculum Vitae
-----------My Name
             (the page with problems)


The page "My name" crashes when I click on  it and I get this 404 Found Error.

Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #3 on: February 13, 2009, 01:38:38 PM »

Hello,

wich version of WB did you use? Looks like WB 2.6.7.

As far as i remember there was a few bugs with page names and menu title in this version wich are fixed in WB 2.7.

Matthias
Logged
midiweb

Offline Offline

Posts: 178


« Reply #4 on: February 13, 2009, 02:08:29 PM »

it's definetely the version WB 2.7. It's displayed at the top of the backend.

My client waits for the correction of this bug. Amazing! It's the only page he edited himself then he said to me that he got this 404 Error found error.

I'm turning in circles!

Please help!

Logged
midiweb

Offline Offline

Posts: 178


« Reply #5 on: February 13, 2009, 03:32:36 PM »

I set up the write/read permissions on 777 and then I deleted the concerned page "My Name" and then I created a new page with the same content. It works now but the formatting  is "crappy" with FCKeditor.. What's for  a time waste!
I have to format the whole text again
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!