WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » [Plugin: WP e-Commerce] Errors immediatley after activating plugin.

[Plugin: WP e-Commerce] Errors immediatley after activating plugin.

  • Ive trouble shot it by deactivating all my plugins and using the default theme. No luck. Below is the errors I get.

    Warning: session_start() [function.session-start]: open(/var/chroot/home/content/47/5949347/tmp/sess_6btne8ok14obvaq4m00lg1c284, O_RDWR) failed: No such file or directory (2) in /home/content/47/5949347/html/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php on line 17

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/47/5949347/html/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php:17) in /home/content/47/5949347/html/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php on line 17
    Warning: Unknown: open(/var/chroot/home/content/47/5949347/tmp/sess_6btne8ok14obvaq4m00lg1c284, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

    http://wordpress.org/extend/plugins/wp-e-commerce/

Viewing 15 replies - 16 through 30 (of 33 total)
  • Hi all:
    I am currently working on a site for my brother. He has an existing site and wants to upgrade to WordPress with the WP e-commerce plugin. I have read through the above comments and his site is also hosted at GoDaddy.
    He insists on keeping this account as he has many other folders for auctions etc. It would be a pain for him to move from GoDaddy now. I prefer Hostgator, flawless so far.
    I actually did all the steps too, delete the plugin, re-install it (3 times). At the end of my rope….
    I see slashlv’s comments re: GoDaddy’s legacy servers to their new grid for a client. Time to call GoDaddy again. They were not too much help last time.

    expfarm

    @expfarm

    I am suffering the same error message on our website. However, Dreamhost claims it is a cross browser issue, and therefore not under their control.

    What do I need to do to fix this??

    Thanks.

    expfarm

    @expfarm

    According to Dreamhost, the website displays properly on IE9. But the client is on Windows XP. Suggestions on this?

    wordtoyomutah

    @wordtoyomutah

    Nobody has claimed success guys except for possibly slashlv. Slashlv can you explain a little more on youre experience?

    Chris

    @lamordnt

    alot of people seem to have this problem, what specifically should we be asking our hosting company to do?

    Plugin Author Lee Willis

    @leewillis77

    If the error is “Warning: session_start() [function.session-start]: ” then your PHP is misconfigured. Ask your host to ensure that the value of session.save_path is set to a directory that is writeable by the webserver.

    I’ve done exactly what wordtoyomutah did. I went with cart66. And it worked beautifully.

    Which leads me to the following conclusion.

    It might be a configuration problem with the PHP and it could have been solved by the hosting provides. It was however, virtually impossible to get the support staff to even take a deeper look at the problem and understand my request. I spent time on the phone and kept getting standard, generic emails instructing me to re-install the plug-in, the WordPress, etc…

    Big provider, a big cal center, no follow-up system so that you have to talk to a different person every time you call (and repeat yourself to death). Disappointing, frustrating but understandable.

    HOWEVER, since Cart66 worked without any problems or changes, I am thinking that the problem could have also been solved by changing the plug-in itself. Specifically the line in the plug-in code that was asking for that specific session to be written in that specific directory. In other words, my experience with the Cart66 seems to indicate that it is possible to have a fully functional shopping cart plug-in without having to write to a directory we can’t access.

    Plugin Author Lee Willis

    @leewillis77

    Specifically the line in the plug-in code that was asking for that specific session to be written in that specific directory.

    It’s a reasonable conclusion to draw, and I believe that WP e-Commerce will move away from relying on PHP sessions in part due to the huge array of misconfigurations there are out there with hosting companies. [If you search on the getshopped.org forums you’ll see it on there (With the solution) with reasonable frequency]

    That said it’s only fair to note that WP e-Commerce does not specify that the file should be written in any particular directory – it merely asks PHP for a session – so it is a core PHP misconfiguration.

    That said, I’m glad you’ve found a cart that works for you, I’m sorry it wasn’t WP e-Commerce, but wish you all the best nevertheless.

    Hi Folks;

    I have got my fix re: GoDaddy and the “Warning: session_start() [function.session-start]…..” issue.

    When upgrading from a static site to a WP site, we needed to upgrade to the server that has PHP and MySQL, and in the migration process one of the folders did not migrate with the rest of the site. I had a tech support person look into this and the missing folder was found and installed in the proper directory. Once done, every thing work just fine.

    I suspect that the missing folder was what was trying to be written to, and with no folder there, no writing was taking place.

    This may not be the case for all of you, but it worked for me.

    Cheers,

    ChristianAVS

    @christianavs

    Solution:

    Create a php5.ini and save it in your root folder. If you have various websites under one server, then it will be saved where you can view all the websites’ folders.

    Create a folder in the root named “tmp” (without “s)

    Type this inside the php5.ini :

    session.save_path = “/home/content/##/#######/html/tmp”
    upload_tmp_dir=/tmp

    *The #s are replaced by what your hosting provider gave you. In Godaddy, when you enter your Hosting Control Center it will be the Absolute Hosting Path under Server.

    Save it

    Good riddance.

    Thanks for the advise.
    In this case Godaddy admitted the missing file was their fault and quickly fixed it. It was an upgrade issue on their end. Once they fixed their issues, all works well.

    Products >> Affiliate Program

    When wp-e-commerce is activated then message in the browser’s title is Nothing found for Products-page Affiliate Program but when I deactivate the plugin everything works fine.Now whats the solution ?

    Thanks,
    Manu

    Products is the parent page and Affiliate Program is the child page.parent page is working fine but child pages are not working ?

    As ChristianAVS stated, you need to create a php5.ini file. I am working on a project that is on GoDaddy shared hosting and ran into the same problem. All you need to do is create and upload the php5.ini file with the session.save_path and upload_tmp_dir information.

    Note, if you have WordPress installed in a subdirectory, you might have to drop the php5.ini file in there.

    Hey Ryan,

    its not working for me , might be I’m implementing it in wrong way . Could you please tell me exact steps to follow .

    Thank You

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘[Plugin: WP e-Commerce] Errors immediatley after activating plugin.’ is closed to new replies.
Skip to toolbar