WordPress.org

Forums

WP Online Store
Error in sessions.php on line 165 (2 posts)

  1. PavelCZ1982
    Member
    Posted 1 year ago #

    Hi,

    I am having WP 3.8 and installed this plugin and I am getting following error on top of the admin page. Do you know where could be problem ?

    Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/web/virtuals/58395/virtual) in /data/web/virtuals/58395/virtual/www/wp-content/plugins/wp-online-store/admin/includes/functions/sessions.php on line 165

    Thanks
    Pavel

    http://wordpress.org/plugins/wp-online-store/

  2. baldguy67
    Member
    Posted 1 year ago #

    This may not be an issue with the plugin itself, but could be if you have limited session access or no session data allowed upon your site. It may also be because some other plugin can be disrupting the session.

    The first thing I would try is to disable all other wordpress plugins, test the function of the store, then re-enable each plugin and keep testing the store. If this does not help, then try the following:

    1) Check if your server's PHP config is set to allow sessions.
    2) Check to make sure the session save path has been configured correctly. This is just a matter of adding a line similar to the following in the php.ini file:
    session.save_path = /tmp
    It is best to contact your hosting provider so they can do this for you. All you have to do is request them to fix the PHP session issue on your server and they should know what to do.

    More information on sessions can be found here:

    http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Online Store
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.