Tomasz Posted April 26, 2018 Share Posted April 26, 2018 Hi. I update me site to 6.2.0. Yesterday i try to edit one produkt. I chose "save" buttons. And i saw white site. I opened file from me www.shop admin_D804fg/skin/default/templates/products.index.php And compare this file with oryginal from zip package Cubecart_6.2.0. And: Me www.shop file ....... <input type="submit" value="{$LANG.common.save}"> </div> {/if} <input type="hidden" name="token" value="{$SESSION_TOKEN}"> </form> When i press "seve" i see white site and changes dosen't save. From zip_6.2.0 file <input type="submit" value="{$LANG.common.save}"> </div> {/if} </form> When i press "Save" buttons, changes dosen't save and i see Red Alert" "Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more" Now i can't add any product and can't edit exist product. Plz help :) Quote Link to comment Share on other sites More sharing options...
keat Posted April 26, 2018 Share Posted April 26, 2018 enable debugging in 'Store Settings' - 'Advanced' This may produce an output string on your web browser. Failing that create a new file in the root of your store called ini-custom.inc.php and paste the following code inside. <?php # Custom initialization commands # Filename: ini-custom.inc.php # File location: main CubeCart folder ini_set('memory_limit', '256M'); ini_set('max_execution_time', '60'); ini_set('error_log', 'error_log'); ini_set('log_errors', 'on'); ?> This should produce an error.log file in the root of your store, which may give some clues. Quote Link to comment Share on other sites More sharing options...
Tomasz Posted April 28, 2018 Author Share Posted April 28, 2018 Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/session.class.php:671 - session_start() [function.session-start.php]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/includes/functions.inc.php:527 - Undefined index: X-Forwarded-For Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/admin_0kt5Uc/sources/settings.index.inc.php:28 - Undefined index: oid_mode Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/admin_0kt5Uc/sources/settings.index.inc.php:163 - Undefined index: path Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/session.class.php:671 - session_start() [function.session-start.php]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/includes/functions.inc.php:527 - Undefined index: X-Forwarded-For Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1312 - Undefined variable: file Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1314 - Undefined offset: 1 Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1314 - Undefined offset: 2 Apr 26 2018, 13:19 PM [Notice] /home/admin/web/vag-shop.co.uk/public_html/classes/catalogue.class.php:1301 - Undefined variable: placeholder_image Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 28, 2018 Share Posted April 28, 2018 This is a Notice and so should not crash PHP, but it is something that your hosting provider should be able to fix, or to suggest what you must do. See: stackoverflow.com/questions/2904862/issues-with-php-5-3-and-sessions-folder CubeCart does set this value in /classes/session.class.php, near line 98. But if the hosting provider is claiming priority of this setting, then they should have the ability to ignore attempts by an application to set this. Quote Link to comment Share on other sites More sharing options...
Tomasz Posted April 29, 2018 Author Share Posted April 29, 2018 OK thx for help. I try instal full new verion, CC 6.2.0, and load BataDase. And i load to server /modules/ and /images/ folders. Quote Link to comment Share on other sites More sharing options...
Tomasz Posted May 11, 2018 Author Share Posted May 11, 2018 Hi. Im instaled new version at serwer. I Copied image and modules folders and DataBase table. Now its fine. Site working OK. But i have new problem with "search modules" . When i use keyword "Audi TT", the search engine founded. 1. Audi A6 2. Audi A3 3. Audi A3P 4. Audi A2 and 5'th Audi TT When i use "Audi A6" or "Audi A3" the search engine showed me this same product list. Why the search keyword dosen't show at first. For example Keywords "Audi TT" -> Enter 1'st Audi TT 2'nd Audi A6 3'th ..... When i use Keywords "Audi A3" -> Enter I expected 1. Audi A3 - as first at the list, not 3'th or 6'th. How can i fix that search engine. Thx for help. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 11, 2018 Share Posted May 11, 2018 Please be aware that spaces will break the entire entry in the text box (Audi A3) into two separate words to search for. Then, there is a limit on how few letters each word can contain (three, I think). CubeCart does not respect quotes around multiple words to group them as one term to be searched. (CubeCart also does not respect dashes, underscores, or periods.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.