# Ustable session? works on local server

**URL:** <https://forum.kirupa.com/t/ustable-session-works-on-local-server/152107>\
**Category:** Uncategorized\
**Created:** [June 21, 2005, 9:17am UTC](https://forum.kirupa.com/t/ustable-session-works-on-local-server/152107 "2005-06-21T09:17:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WoGk7](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WoGk7](https://forum.kirupa.com/u/WoGk7)\
**Post date:** [June 21, 2005, 9:17am UTC](https://forum.kirupa.com/t/ustable-session-works-on-local-server/152107/1 "2005-06-21T09:17:35Z")

</div>

Hi.

I know You guys will help me out. Right?

Attached file is a zipped version of this pseudo shopping site. All it´s supposed to do is send an e-mail with all the products user chose. The first file is boutique.php. Please oh please have a look at it. I´m a complete noob to php. This was build with help from a friend of mine. but he´s clueless as to why it wont work. I get this error when on a remote server:

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/softlares.com/httpdocs/boutique/add.php on line 15

on my local apache it works fine.

Also, i debugged it with phpEd and it shows my cesta object in $\_SESSION well constructed, but empty. Then it does what it should on local. Anyways, i´m about to stomp the screen and eat the keyboard so … i´ll just hope someone takes a look at it and them what the heck.
