letsbeonline Posted March 16, 2013 Share Posted March 16, 2013 hello, I am facing a problem with the checkout When i click on the cash on delivery i have this error Fatal error: Using $this when not in object context in D:\Plesk\VHOSTS\neogourmet.com\httpdocs\classes\module\Module.php on line 1587 when i run it on my localserver i don't have this error the website is www.neogourmet.com thank you Link to comment Share on other sites More sharing options...
El Patron Posted March 16, 2013 Share Posted March 16, 2013 did you install it using the ps installation on your remote server or did do a direct ftp from your localhost? 1 Link to comment Share on other sites More sharing options...
NemoPS Posted March 16, 2013 Share Posted March 16, 2013 Are you using the default cash on delivery? That error usually appears when you call $this inside of a static function Link to comment Share on other sites More sharing options...
letsbeonline Posted March 17, 2013 Author Share Posted March 17, 2013 thank you for your response I copied it through FTP I removed the COD that was installed with the theme and reinstalled one by downloading the default COD Link to comment Share on other sites More sharing options...
El Patron Posted March 17, 2013 Share Posted March 17, 2013 thank you for your response I copied it through FTP I removed the COD that was installed with the theme and reinstalled one by downloading the default COD did this fix the problem? Link to comment Share on other sites More sharing options...
letsbeonline Posted March 17, 2013 Author Share Posted March 17, 2013 not really i don't know how since i am not really a programmer Link to comment Share on other sites More sharing options...
El Patron Posted March 17, 2013 Share Posted March 17, 2013 (edited) ok, you should consider this. when you ftp to a remote server where ps has not been installed, then it's very possible there is an incompatibility. When you ftp you do not use the ps installation process which checks your server settings for compatibility. so, I suggest that you upload a native ps shop, and run the installation process there. this will require you to either delete your existing remote shop and the db table, or create a new subodmain and db in which to try the installation.... Edited March 17, 2013 by elpatron (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts