sharif854 Posted October 7, 2012 Share Posted October 7, 2012 hi everyone. I create basic modules (3 modules) that this modules are working alone very good but when i install 2 or 3 module in front ent i have server error i'm working in local host and when i install the 3 modules chrome show me server error that says: your site is down or like that .... my modules in back office is working very good where is prblem in my modules notice: my tpls for three modules just has a 1 or 2 word for test please help me.and i'm working prestashop 1.4.x Link to comment Share on other sites More sharing options...
sharif854 Posted October 8, 2012 Author Share Posted October 8, 2012 No Body don't know?????? Link to comment Share on other sites More sharing options...
tomerg3 Posted October 8, 2012 Share Posted October 8, 2012 What's the server error? Did you try to enable all the debug options in the config file? Link to comment Share on other sites More sharing options...
sharif854 Posted October 8, 2012 Author Share Posted October 8, 2012 (edited) The server error like this picture when we make bad coding so how can i fix this this error is show when i install 2 module that create myself but when i install module aloan this is work done http://www.imagetoo.com/images/capturfnf.png Edited October 8, 2012 by sharif854 (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted October 8, 2012 Share Posted October 8, 2012 in /config/config.inc.php line 28-29 Change to "on" and & true 1 Link to comment Share on other sites More sharing options...
sharif854 Posted October 8, 2012 Author Share Posted October 8, 2012 ok I did this change but now it's nothing shown like empty page. you should know that i include one file in two modules. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 8, 2012 Share Posted October 8, 2012 I'm not sure what this means "you should know that i include one file in two modules." If you see a white page, you may have a PHP syntax error, you may have to look at the server error log to locate it. 1 Link to comment Share on other sites More sharing options...
sharif854 Posted October 8, 2012 Author Share Posted October 8, 2012 i include one file myclass.php in my modules. how to know this syntax error where it is? because when i install one of two modules this is work but when i install both of module this error is created do you have offer for solve this problem ? thank you . Link to comment Share on other sites More sharing options...
tomerg3 Posted October 8, 2012 Share Posted October 8, 2012 If you see a white page, you may have a PHP syntax error, you may have to look at the server error log to locate it. Link to comment Share on other sites More sharing options...
sharif854 Posted October 9, 2012 Author Share Posted October 9, 2012 My error is created that i have same file in 2 module and 2 separate file: i have to folder module1 and modul2. In each folder exists one file "Myclass.php" .This file is require in both of moudle1.php and module2.php and the error is created my offer that if possible don't include or require file in your moudlename.php and your own functions that you created is private or protected and thank you very much tomerg3 that learn me active presta bug my english is not well sorry if my sentences has a bug . The world is bug Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now