Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
Backend is fine. Frontend gives 404 for all pages except mainpage
 
Tillebeck
Jr. Member
 
Total Posts:  11
Joined:  2008-03-03
 

Hi. I have done a testinstall of the Magento ver. 1.0.19870
My backend works fine, i can add categories, products etc.

But the frontend fails. Only the landing pag eis fine, the rest returns 404 error messages.

Fine, and I can login:
http://opengate.dk/w_magento/magento/index.php/admin

Fine, but no cat/prod are showing and no matter which link I press I get an 404…
http://opengate.dk/w_magento/magento/

I did try the:
Mage::run(); to Mage::run(’default’);
as suggested in the forum. But for me that did not help.

I run the cgi-php5.
Any ideas?…

BR. Anders

 
Magento Community Magento Community
Magento Community
Magento Community
 
Eric Tan
Jr. Member
 
Total Posts:  2
Joined:  2008-05-25
 

have anyone found the solution?

Take a closer look at the frontend links - ‘index.php’ is missing!!!!

http://<your domain>/magento/wishlist/ is supposed to be http://<your domain>/magento/index.php/wishlist/

how to fix this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial
Guru
 
Avatar
Total Posts:  408
Joined:  2007-11-07
Scottsdale, AZ
 

Do you have URL rewrites enabled in the backend of Magento? And what do you have for the unsecure/secure base store url/link values?

You can find all of this in System > Configuration > General > Web.

If you have mod_rewrite on your server, then set Use Web Server Rewrites to Yes. Otherwise leave it as No.

For the Unsecure section, make sure the values are:

Base URLhttp://opengate.dk/w_magento/magento/
Base Link URL{{unsecure_base_url}}
Base Skin URL
{{unsecure_base_url}}skin/
Base Media URL{{unsecure_base_url}}media/
Base JavaScript URL{{unsecure_base_url}}js/

And for the Secure section, for now just leave it the same as above:

Base URLhttp://opengate.dk/w_magento/magento/
Base Link URL{{secure_base_url}}
Base Skin URL
{{secure_base_url}}skin/
Base Media URL{{secure_base_url}}media/
Base JavaScript URL{{secure_base_url}}js/

 Signature 

Crucial Web Hosting
Are you ready to Split-Shared™ hosting?
Magento Containers lets you run your business, we’ll do the rest.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Eric Tan
Jr. Member
 
Total Posts:  2
Joined:  2008-05-25
 

Fixed after I changed Web Server Rewrites to No. The index.php reappears as part of the links.

How do you know that mod_rewrite is working properly. My infophp() page said so that it’s loaded.

Or did I not configure my .htaccess correctly? I tried to overwrite it with .htaccess.sample but doesn’t help at all.

Thanks!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tillebeck
Jr. Member
 
Total Posts:  11
Joined:  2008-03-03
 

Hmmm.... I gave up and deleted all to make a fresh start…

But now I get this during the isntallation.
Url “http://opengate.dk/w_magento/magento/” is not accessible

Gone from bad to worse. I will try to sort it out and then make an installation without mod_rewrite active.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tillebeck
Jr. Member
 
Total Posts:  11
Joined:  2008-03-03
 

SOLUTION
Well, not a solution, but a fix of some sort anyway.

The magento-1.0.19870.1.tar.gz returns the error with “url is not accessible”
The magento-1.0.19870.tar.gz seems to work fine

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tillebeck
Jr. Member
 
Total Posts:  11
Joined:  2008-03-03
 

Crucial -> Thanks for your tips. I tried to change the deafult urls but ended up breaking the installation. Since I could not find a file or DB entry to modify I ended up doing a reinstall… again…

---------------------------
I did a complete reinstall using the magento-1.0.19870.tar.gz.
I am online again but with a new issue this time.

Backend is fine as usual.

As something new all links works fine in the frontend exept:
http://opengate.dk/w_magento/magento (this is fine)
http://opengate.dk/w_magento/magento/ (this is fine)
http://opengate.dk/w_magento/magento/index.php (this is fine)

But this in the autogenerated link from the “Magento Demo Store” gif the link is with a trailing slash:
http://opengate.dk/w_magento/magento/index.php/ (this results in “No input file specified")

How do I chagnge the default url to one of the three working links listed above?`

BR. Anders

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial
Guru
 
Avatar
Total Posts:  408
Joined:  2007-11-07
Scottsdale, AZ
 

Well for future reference, those variables are stored in the core_config_data table. Just sort the table by path and go the last page. You’ll see the following:

web/secure/base_url
web
/unsecure/base_url

You can also turn off URL rewrites and SSL in there (0=false; 1=true):

web/seo/use_rewrites 
web
/secure/use_in_adminhtml
web
/secure/use_in_frontend

 Signature 

Crucial Web Hosting
Are you ready to Split-Shared™ hosting?
Magento Containers lets you run your business, we’ll do the rest.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TheHuntingDynasty
Jr. Member
 
Total Posts:  3
Joined:  2008-06-27
 

Crucial - you rock.

I’ve been tearing my hair out with this install. Your Web Server Rewrites to ‘no’ fixed saved me!

Ta

 
Magento Community Magento Community
Magento Community
Magento Community
 
nirva
Jr. Member
 
Total Posts:  1
Joined:  2008-04-08
 

Same here… Web Server Rewrites to ‘no’ and category links are back on track.

Thanks for the tip

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andrés Skliarevsky
Jr. Member
 
Avatar
Total Posts:  10
Joined:  2008-02-15
Mar del Plata, Argentina
 

Hi!
i’ve got this problem (v1.1.3), where link http://www.maczentrum.com.ar/store/index.php/ (with the final slash) does NOT work and throws the “No input file specified.” error or directly a 404.

I’ve tried configuring in the backend with Web Server Rewrites turned on and off:
- If NO, the magento logo goes to the index.php/ and gives that mentioned error;
- if YES, the logo goes to /store/ and home page is visible, BUT NOT the links to the products…

Frankly, I don’t know what to do. I’ve read about the .htaccess, but i don’t know how to configure it… also, i think that it’s not in the server (invisible files on).

Any help is much appreciated!

 Signature 

Greets!
Andrés

...using Magento v1.1.3

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andrés Skliarevsky
Jr. Member
 
Avatar
Total Posts:  10
Joined:  2008-02-15
Mar del Plata, Argentina
 
Crucial - 26 May 2008 10:07 AM

Well for future reference, those variables are stored in the core_config_data table. Just sort the table by path and go the last page. You’ll see the following:

web/secure/base_url
web
/unsecure/base_url

You can also turn off URL rewrites and SSL in there (0=false; 1=true):

web/seo/use_rewrites 
web
/secure/use_in_adminhtml
web
/secure/use_in_frontend

Hi! I’m sorry, but i dont understand WHERE do you change or HOW do you change this to make it work… I’ve found that table in phpMyAdmin, but i’m afraid i’m not able to modify it… or how to modify it. (im n00b with this, please understand wink )

Thanks!

 Signature 

Greets!
Andrés

...using Magento v1.1.3

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
32087 users|336 users currently online|71964 forum posts