Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

404 error on some pages in the backend
 
andreashjroth
Jr. Member
 
Total Posts:  6
Joined:  2012-05-02
 

Hi

I am occuring some problems with my backend

The problem is that some of the pages returns a 404 error, i tried to recover the backend with a backup from before the problem startet but it doesn’t help.
I have also tryed to upload the files for the pages that don’t work. but nothing seems to work.

The pages that doesn’t work are the following:
System > Import/Export > Import
System > Import/Export > Export
System >Index management

Hope there is someone who can help me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
NuBlue
Sr. Member
 
Avatar
Total Posts:  94
Joined:  2008-03-31
Lancaster, United Kingdom
 

Hi andreashjroth,

When did the problem start? Have you tried re-uploading the entire admin directory?

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreashjroth
Jr. Member
 
Total Posts:  6
Joined:  2012-05-02
 

I think the problem startet for about 2 weeks ago.

i have version 1.6.1.0

which folders should i try to upload, so it don’t effect my site.

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreashjroth
Jr. Member
 
Total Posts:  6
Joined:  2012-05-02
 

no one that can help me with this? smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
UKWorkStore
Jr. Member
 
Avatar
Total Posts:  13
Joined:  2012-03-31
London, United Kingdom
 

Hello

Just a thought, but do you have Compilation enabled? (System > Tools > Compilation).

If it is, try running the Compilation Process or disable it. Then try clearing your cache afterwards.

I have sometimes had a 404 error on some Admin pages after doing a minor upgrade on Magento. Doing the above has resolved the issue for me in the past.

Good luck.

Regards

Brian

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreashjroth
Jr. Member
 
Total Posts:  6
Joined:  2012-05-02
 
UKWorkStore - 24 June 2012 02:23 AM

Hello

Just a thought, but do you have Compilation enabled? (System > Tools > Compilation).

If it is, try running the Compilation Process or disable it. Then try clearing your cache afterwards.

I have sometimes had a 404 error on some Admin pages after doing a minor upgrade on Magento. Doing the above has resolved the issue for me in the past.

Good luck.

Regards

Brian

Thanks for your reply.

I also get the 404 on the Compilation page :(
I don’t know if its enabled or disabled. Is there a config file or something i can check it in? And can i run the compilation from the terminal like you can do with the index management ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
UKWorkStore
Jr. Member
 
Avatar
Total Posts:  13
Joined:  2012-03-31
London, United Kingdom
 

To disable compilation mode via FTP:

1) Connect to your server using FTP

2) Look for the “includes” folder

3) Open the file “config.php”

4) Find the lines:

define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’);
#define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);

and comment them out:

#define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’);
#define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);

5) Save the changes.

You should then be able to get back into your Admin panel. To enable Compilation Mode again you should click on the “Run Compilation” button rather than just enabling it as this might break your site again. Running the Compilation Process should compile all new files correctly.

Hope the above helps.

Regards

Brian

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreashjroth
Jr. Member
 
Total Posts:  6
Joined:  2012-05-02
 

Hi Brian.

I have now disabled the compilation, but i can\’t run it. i also have the 404 error if i go to System > tools > Compilation
can i run the compilation from the terminal, on the server?

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreashjroth
Jr. Member
 
Total Posts:  6
Joined:  2012-05-02
 

I found a way to compile the files through ssh, but it did not solve the problem, any other suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top