module - 404 Error in Magento extension when deployed in production -
this 1 puzzling me 2 days now. i've found solution 404 in admin, not same happening here. have same version of magento in local copy , production server: 1.7.0.2. extension works great in local. packaged using magento connect , installed in production same way. files there. shows in menu , in configuration section, when click menu go report, beloved 404. loged out , in, flushed cache zillion times (including deleting files manually) nothing changed.this urls in both envs:
(dev)http://localhost/magentos/index.php/salestaxes/adminhtml_salestaxes/index/key/c4b8ecb58fa2062f696cacfd340/ (prod)https://www.myserver.com/index.php/salestaxes/adminhtml_salestaxes/index/key/332e617e74a92a39a40cf5d3/
as can see same. don't know wahy i'm getting error. can point can solve this? need check setting? can cause this?
this var_dump in router _validatecontrollerclassname() method:
string(115) "/home_path/public_html/app/code/community/surpassweb/salestaxes/controllers/adminhtml/salestaxescontroller.php" string(100) "/home_path/public_html/app/code/community/surpassweb/salestaxes/controllers/indexcontroller.php"
this output of alam's 404 module:
controller name
controller name: adminhtml_salestaxes controller name adminhtml_salestaxes matches following controller file, file not exist. home_path/public_html/app/code/community/mycompany/salestaxes/controllers/adminhtml/salestaxescontroller.php
the file there , has 755 permissions.
this first line in may controller:
class mycompany_salestaxes_adminhtml_salestaxescontroller extends mage_adminhtml_controller_action {
thanks time.
are absolutely sure file there? named same? same character capitalization? , you're not in production setup multiple frontend webservers?
if you'll indulge me — copy path of controller better 404 page computer's clipboard. type
$ ls -l [paste]
into terminal window. bet if file won't there. try
$ls -l app/code/community/surpassweb/salestaxes/controllers/adminhtml/
to see files there.
looking @ information provided, magento looking file named
app/code/community/mycompany/salestaxes/controllers/adminhtml/salestaxescontroller.php
i don't know actual file named, looking @ class name
mycompany_salestaxes_adminhtml_salestaxescontroller
leads me believe might incorrectly named salestaxescontrolle.php
. notice t
in sales taxes capitalized, vs lowercase t
magento looking for.
Comments
Post a Comment