JK2 Posted June 3 Share Posted June 3 We were trying the updated UPS_Delivery module 1.1.5 which uses the OAuth method as well as supports PHP 8.2. However when loading the checkout page as well as trying the Extension in the admin page, produces a blank screen. Quick debug .... this shows up ...open_basedir restriction in effect. File(/opt/plesk/php/8.2/share/pear/smarty_autoloader.class.php) is not within the allowed path(s): Any idea or pointers? Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 3 Share Posted June 3 (edited) This will need to be corrected by the hosting account tech support people. (Actually, I do not know if 'open_basedir' directives can or cannot be managed via the Plesk control panel.) And PHP docs say this can be managed by using ini_set() in a script. But I do not know what would need to be changed. Edited June 3 by bsmither Quote Link to comment Share on other sites More sharing options...
JK2 Posted June 3 Author Share Posted June 3 Thank you. We were able to add the "pear" path to open_basedir. That error went away. The blank screen is still present with the UPS_Delivery module. Will wait for the developer until tomorrow to troubleshoot. He is in the UK time-zone. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 3 Share Posted June 3 Please view: https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/ When you get the blank screen, visit your Plesk control center and view the error log. It may contain the exact error causing the blank screen. Quote Link to comment Share on other sites More sharing options...
JK2 Posted June 3 Author Share Posted June 3 It worked and produced an error log ... modules/shipping/UPS_Delivery/shipping.class.php encoded as type [1/74] cannot be decoded by this version of the ionCube Loader. and then in following lines .... [03-Jun-2024 19:48:29 America/New_York] PHP Notice: session_start() [<a href='http://docs.php.net/manual/en/function.session-start.php'>function.session-start.php</a>]: ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) The webserver uses the latest version of ioncube loader 13.x for php 8.2 Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 4 Share Posted June 4 (edited) The "cannot be decoded" message is authentic. The version of the ionCube loader needs to be compatible with the version of PHP, and the encoded script needs to have been encoded using that same version. So, the publisher of the extension needs to do their thing. The "session_start" issue is when PHP wants to also do some garbage collection when starting a session. But PHP (or whatever user:group PHP runs under) is not recognized as an authorized user to delete some session files. (But can PHP write new session files???) This should be a problem the tech support people can fix. The session issue is a "Notice" which means that CubeCart won't stop working. Being able to do garbage collecting is important, as the number of stale session files could increase into the millions (on a very busy site) and cause problems for the operating system's file management system as a whole (running out of 'nodes' or something like that). Edited June 4 by bsmither 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.