cooletin Posted March 23, 2014 Share Posted March 23, 2014 Looks like everything works but I have blank page when I try to go to muduls. This is the adress I get. http://cooleting.no/admin123/index.php?controller=AdminModules&token=b2cac61cb4fcdb8593ec3923c587e3af Link to comment Share on other sites More sharing options...
Dh42 Posted March 24, 2014 Share Posted March 24, 2014 Can you try renaming your modules directory and uploading the modules directory from the prestashop 1.6 zip. I have read that this might help. Link to comment Share on other sites More sharing options...
vekia Posted March 24, 2014 Share Posted March 24, 2014 btw. blank page = errors so, can you please turn on error reporting ? what you see then instead of blank page? open config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
cooletin Posted March 24, 2014 Author Share Posted March 24, 2014 Thanks for answers. I have change the line now, but how can I see the error reporting? In my cpanel I go to error log and its nothing there. Link to comment Share on other sites More sharing options...
cooletin Posted March 24, 2014 Author Share Posted March 24, 2014 /* Debug only */ define('_PS_MODE_DEV_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_) Should I change the line under to true too? Link to comment Share on other sites More sharing options...
cooletin Posted March 24, 2014 Author Share Posted March 24, 2014 How can I rename my modul folder in ftp and should I just copy the file form a clean presta in to my ftp and rewrite it? I will not loos some data? Sorry i am not a expert Link to comment Share on other sites More sharing options...
vekia Posted March 24, 2014 Share Posted March 24, 2014 if you turned on error reporting as i described (and you too) go to your back office and open "modules" section. what you see now iinstead of "blank" page? Link to comment Share on other sites More sharing options...
cooletin Posted March 24, 2014 Author Share Posted March 24, 2014 Exactly the same Can it be something wrong with the ini file <?php xxx Link to comment Share on other sites More sharing options...
vekia Posted March 25, 2014 Share Posted March 25, 2014 no, it can't be related to your config file (i removed contents of it because sharing contents of this file is... dangerous ) Link to comment Share on other sites More sharing options...
cooletin Posted March 25, 2014 Author Share Posted March 25, 2014 Thanks Link to comment Share on other sites More sharing options...
cooletin Posted March 25, 2014 Author Share Posted March 25, 2014 No one else have this problem? I really have to fix this soon as possible. I cant use footer because I have to reinstall some moduls. Can the problems be that I have some old moduls? Link to comment Share on other sites More sharing options...
cooletin Posted March 25, 2014 Author Share Posted March 25, 2014 What will hapen if I replace the file i ftp? Link to comment Share on other sites More sharing options...
vekia Posted March 25, 2014 Share Posted March 25, 2014 are you 100% sure that you turned error reporting on? if so, it's so strange that you see just blank page instead of error code. have you got an access to php error log file (on your hosting account?) Link to comment Share on other sites More sharing options...
cooletin Posted March 26, 2014 Author Share Posted March 26, 2014 If you mean in the public html file I changed it in config. I have a map named public html bak. under the public html file. maybe just a copy of the file html. I have a file under open config/defines.inc.php called open config/defines_uri.inc.php I will ask admin about error log. Link to comment Share on other sites More sharing options...
cooletin Posted March 26, 2014 Author Share Posted March 26, 2014 I think I find something, but I have tried this many times later so its a little bit strange that the error log is 4 days old. [22-Mar-2014 22:07:56 Europe/Oslo] PHP Fatal error: Call to undefined method Media::addJsDef() in /home/xxxxxxx/public_html/modules/blocksearch/blocksearch.php on line 77 I find it in /home/xxxxxxx/public_html/php_errorlog this going 100 times or something and this one over the 100 lines: #0 /home/xxxxxx/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/cooletin/...', '<?php /*%%Smart...', Object(Smarty)) #1 /home/xxxxxxx/public_html/tools/smarty/sysplugins/smarty_cacheresource.php(367): Smarty_Internal_CacheResource_File->writeCachedContent(Object(Smarty_Internal_Template), '<?php /*%%Smar[22-Mar-2014 21:37:41 Europe/Oslo] PHP Fatal error: Call to undefined method Media::addJsDef() in /home/xxxxxxx/public_html/modules/blocksearch/blocksearch.php on line 77 I remove my name in the lines Link to comment Share on other sites More sharing options...
cooletin Posted March 26, 2014 Author Share Posted March 26, 2014 And I have so many lines over if you need more Link to comment Share on other sites More sharing options...
cooletin Posted March 26, 2014 Author Share Posted March 26, 2014 I got a error message now when I try to set show 120 produkts on on page but thats on front office. Fatal error: Out of memory (allocated 54525952) (tried to allocate 578065 bytes) in /home/xxxxxx/public_html/classes/Media.php on line 737 Link to comment Share on other sites More sharing options...
vekia Posted March 26, 2014 Share Posted March 26, 2014 so, your prestashop version don't support these modules. you probably recently upgraded these addons. but... these addons are for 1.6 now, and you posted topic in 1.6 section, so... you've got 1.6 or ... you're still on 1.5 ? and regarding to this: Fatal error: Out of memory (allocated 54525952) (tried to allocate 578065 bytes) in /home/xxxxxx/public_html/classes/Media.php on line 737 i think that this is your problem right now. this error code means, that you exceeded limits on your hosting account, there is not enough memory to run your modules section Link to comment Share on other sites More sharing options...
cooletin Posted March 26, 2014 Author Share Posted March 26, 2014 Ok thanks:) I running 1,6 and I will talk with my hosting provider. Link to comment Share on other sites More sharing options...
cooletin Posted March 26, 2014 Author Share Posted March 26, 2014 Thank you so much for your help. I fix it Link to comment Share on other sites More sharing options...
vekia Posted March 28, 2014 Share Posted March 28, 2014 thank you for confirmation. so they just increased your memory limit. i marked this thread as solved with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts