Silver Zachara Posted April 22, 2013 Share Posted April 22, 2013 Hi, this is url of out eshop http://www.ecigareta-shop.cz/, it's 1.4.8.2 version. I want to change / create position for Cart Block and Categories Block. When I go to the Modules / Positions page in backend, the list is empty. Should be this list empty? Or it's a bug? I want to do this, because the Categories Block is sometime jumping below the CMS Block. What should I look for or what to check? Thank you for advices and suggestions. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 22, 2013 Share Posted April 22, 2013 Hi, Seems that some error exists on that page. Try to enable DEV_MODE and post error here. Regards Link to comment Share on other sites More sharing options...
Silver Zachara Posted April 22, 2013 Author Share Posted April 22, 2013 (edited) I have enabled _PS_MODE_DEV_ and _PS_DEBUG_SQL_ to true and display_errors to on too. I get this errors on Modules page: Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/data/web/virtuals/8581/virtual/www/modules/index.php/index.php.php) is not within the allowed path(s): (/data/web/virtuals/8581/virtual) in /data/web/virtuals/8581/virtual/www/classes/Tools.php on line 1257 Warning: set_time_limit() has been disabled for security reasons in /data/web/virtuals/8581/virtual/www/classes/Module.php(492) : eval()'d code on line 50 But any errors on Modules / Positions page! Should be the Modules / Positions list empty? Edited April 22, 2013 by Silver Zachara (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 22, 2013 Share Posted April 22, 2013 try to find it on the page source (ctrl+U) Link to comment Share on other sites More sharing options...
Silver Zachara Posted April 22, 2013 Author Share Posted April 22, 2013 (edited) You are absolutely right, I'm really suprissed In Code are rendered only first two option tags for select and after is the error message: <select id="show_modules" onChange="autoUrl('show_modules', '/adminXXX/index.php?tab=AdminModulesPositions&token=6f4c2a6f944934cf52419fc1fd469bc6&show_modules=')"> <option value="all">All modules </option> <option>---------------</option><br /> <b>Fatal error</b>: Call to undefined method Module::preloadModuleNameFromId() in <b>/data/web/virtuals/8581/virtual/www/admin555/tabs/AdminModulesPositions.php</b> on line <b>226</b><br /> Edited April 22, 2013 by Silver Zachara (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 22, 2013 Share Posted April 22, 2013 Please check your classes/Module.php and override/classes/Module.php. Do you have preloadModuleNameFromId function on its? Link to comment Share on other sites More sharing options...
Silver Zachara Posted April 22, 2013 Author Share Posted April 22, 2013 In whole project doesn't exist method with name preloadModuleNameFromId, so I have commented line with this call and the page Modules / Positions started working. Thank you for advice. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 23, 2013 Share Posted April 23, 2013 Great But I suggest you download your version from prestashop and change Module class Regards Link to comment Share on other sites More sharing options...
Recommended Posts