Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

404's on all pages
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.

TOPIC: 404's on all pages

404's on all pages 17 years, 5 months ago #2337

I've seen there's a few 404 problems but none of them seem to solve my problem

I set up a test sever, www.testserve.com/joomla and installed joomsef and it worked pretty much out of the box

Installed joomsef on the sites live server, www.liveserver.com and now when I activate it all I get are joomla 404 errors.

if I visit www.liveserver.com it says FILE NOT FOUND: /

I have aslo moved the test site to www.testserver.com to test with and this has developed the same problem

I did find that I am able to manually set up the sef url for '' to go to real url 'index.php' but this only fixed the home page

any suggestions?

Re:404's on all pages 17 years, 5 months ago #2338

Fixed it

Line 84 of /components/com_sef/sef.php

changed
            $base = dirname($index);

to
            $base = stripslashes(dirname($index));


and now my site works on the root of the server

the problem turned out that it was setting the $base variable to be \/ instead of the / it actually was

This seems to have fixed it for me and hopefully will be useful to other people with 404 errors

Re:404's on all pages 17 years, 5 months ago #2343

On what version of PHP are you? I had similar problems and it was related to JoomSEF not being compatiblem with PHP 5. When we had the site moved to a PHP 4 server it started working.

Our problem now is that JoomSEF generateds so incredibly many MySQL-calls, that we have reached the roof of the allowd calls of 360.000 calls per hour set by the hosting company.

I have no idea what causes this..

Re:404's on all pages 17 years, 5 months ago #2364

  • jirka
Hello,

we are running JoomSEF with PHP5 and there are no problems at all. The problems you experienced may be related to some default PHP settings.

As regards the 404 problem, there may be issue with rewrite base.
If the site is located at www.testserve.com/joomla, the RewriteBase should be set to /joomla.

If it is located in domain root (www.liveserver.com), the RewriteBase needs to be changed to /. So copying the files is not enough. You will need to make this change manually.

Best regards,
ARTIO Support Team

Re:404's on all pages 17 years, 5 months ago #2382

  • l2g3
Graham Anderson wrote:
Fixed it

Line 84 of /components/com_sef/sef.php

changed
            $base = dirname($index);

to
            $base = stripslashes(dirname($index));


and now my site works on the root of the server

the problem turned out that it was setting the $base variable to be / instead of the / it actually was

This seems to have fixed it for me and hopefully will be useful to other people with 404 errors



Thanks for finding it out!
It solved my 404 Not Found problem too. All pages except for frontpage gave that error. Everything (.htaccess and others) was configured correctly.
I use PHP 5.2.2, Apache 2.2.4, MySQL 5.0.41.
By the way, when I could not find what what was wrong, I had to move back to JoomSEF 1.4.0, because it didn't have this problem.<br><br>Post edited by: l2g3, at: 2007/06/11 13:27

Re:404's on all pages 17 years, 5 months ago #2413

I am having the same problem. Everything was working for a few hours, then all the pages except for homepage started showing a 404 error. First there was an internal 500 error, then all pages showed 404 error. I tried changing the $base variable like stated in earlier post here, but that did not fix the problem. My site is at 71.18.19.230. Anyone have any ideas?
Přihlášení uživatele Prázdný