Page 1 of 3

[SOLVED] The page you requested cannot be found!

Posted: Fri Aug 19, 2011 7:43 pm
by xl5
Hi
Can anyone explain why all of a sudden i cannot access any pages within categories & manufacturers, i get the message:The page you requested cannot be found! The home page is there and everything else works fine. ???

Re: The page you requested cannot be found!

Posted: Fri Aug 19, 2011 8:14 pm
by Blnukem
Do you have SEO links enabled?

Re: The page you requested cannot be found!

Posted: Fri Aug 19, 2011 8:37 pm
by xl5
yes

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 12:27 am
by Blnukem
If SEO links are enabled and you don't add a SEO keyword when you add a product this error will happen, if this is not the case please give the URL to the site in question.

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 12:48 am
by xl5
Hi
Yes i have done all the above, here is thr url: http://www.marmalade-art.co.uk

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 12:52 am
by fido-x
Blnukem wrote:If SEO links are enabled and you don't add a SEO keyword when you add a product this error will happen, if this is not the case please give the URL to the site in question.
Actually, that's not the case. If SEO links are enabled and you don't have a SEO keyword for the product, category or information page, it will revert to the standard "route=product/product&product_id=xx" method.

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 2:23 am
by xl5
Well chaps any ideas? 10% off any original piece of art if you can solve it!

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 2:52 am
by uksitebuilder
I'm liking that Rolf Harris piece, so I will try to assist.

1. Are you on a Windows server or Apache Server ?
2. Do you have a .htaccess file?
3. If 2 is yes, what does the line starting with: RewriteBase say?

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 3:20 am
by xl5
Apparently Apache, and the code RewriteBase is:

# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

The Rolf is yours when the paint is dry enough!

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 3:33 am
by uksitebuilder
OK, well with further looking, SEO Rewriting seems to be working because your Information pages re working (about us, delivery, contact)

Also, default non-seo links seem to be working too.

May I ask how do you enter your SEO Keywords ? Manually or do you use a mod/extension ?

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 3:46 am
by xl5
Hi
Manually

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 4:13 am
by uksitebuilder
Do you have access to your database ?

if so can you browse or search the url_alias table and find in the keyword column 'original_art_paintings'

Then report back what it's associated value is from the query column.

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 4:16 pm
by xl5
hi Simon
The query is: 665 category_id=55
Sorry i was a bit late coming back i am quite new to this game, only started 2 months ago but learning fast (i hope)

Re: The page you requested cannot be found!

Posted: Sat Aug 20, 2011 4:58 pm
by uksitebuilder
I only started 2 months ago too, please do keep up dear boy (only joking)

That seems to be correct.

I cannot even get that page to load with a non-seo url: http://www.marmalade-art.co.uk/index.ph ... ry&path=55

Only thing I can suggest is that you replace the following file with the original from the download archive

catalog/controller/common/seo_url.php

Re: The page you requested cannot be found!

Posted: Sun Aug 21, 2011 12:30 am
by xl5
hi Simon
Thanks for your help but I'm afraid the situation is the same, no categories, sub categories or products and no manufacturers yet the home page loads and the information module works. All the data is still in the back end. I believe my sight has entered the twilight zone! :-\

Re: The page you requested cannot be found!

Posted: Sun Aug 21, 2011 12:37 am
by uksitebuilder
I'm pretty much drawing a blank at this point too now.

All the obvious problems that can and do occur, we have covered.

Al I can think of doing now is file comparing your site files against original OC download files to see what (if any) difference there are.

Before you do that though, can you install a separate installation of OC on your server to see if it behaves the same with a default store ?

Re: The page you requested cannot be found!

Posted: Sun Aug 21, 2011 12:57 am
by xl5
Hi simon
im away for a day or so but will try what you say and will tell you results if any.
cheers

Re: The page you requested cannot be found!

Posted: Sun Aug 21, 2011 6:25 am
by SXGuy
incorrect seo keyword can cause a break, if there isnt one it will revert to non seo but if there is one and its formatted wrong i believe it will throw a page error.

So my question is, what is the seo keyword you are trying to use? make sure there is no spaces in the seo keyword.

Also, another method would be to remove te seo keyword, reload the page and see if the links work, if they do, its probably the formatting of your seo keyword.

"Some Name" should be Some_Name or Some-Name

The page you requested cannot be found!

Posted: Sun Aug 21, 2011 6:27 am
by uksitebuilder
Hi SX - tis not the keyword in this instance, page not found is happening even when standard non-seo url is used

Re: The page you requested cannot be found!

Posted: Sun Aug 21, 2011 7:28 am
by asphole
Does this behave the same using default template?
I also notice that your htaccess is different to mine:

Yours:
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

Mine:
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

I Don't know enough about rewrites to know if this is the cause but you could quickly test it before installing a test site or someone could hopefully clarify if these 2 rules are actually the same?