Page 1 of 2

Fatal Error.

Posted: Mon Nov 02, 2009 6:34 pm
by johnomcm
Fatal error: Call to a member function set_status() on a non-object in /var/www/testsite/htdocs/modules/Orders/action.default.php on line 136

Code: Select all

$order->set_status(ORDERSTATUS_PROPOSED);
I get this when I hit Check out.



----------------------------------------------

Cms Version: 1.6.6

Installed Modules:

CMSMailer: 1.73.14
FileManager: 1.0.1
MenuManager: 1.6.2
ModuleManager: 1.3.1
News: 2.10.3
nuSOAP: 1.0.1
Printing: 1.0.4
Search: 1.6.1
ThemeManager: 1.1.1
TinyMCE: 2.5.5
FrontEndUsers: 1.6.10
SelfRegistration: 1.2.5
CGExtensions: 1.17.5
CGSimpleSmarty: 1.4.3
CustomContent: 1.5.3
Products: 2.4.3
CGPaymentGatewayBase: 1.0.3
Orders: 1.6.6
FRShipping: 1.1
FRTaxes: 1.0.1
Cart: 1.4.2


Config Information:

php_memory_limit:
process_whole_template: false
max_upload_size: 8000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: true


Php Information:

phpversion: 5.2.4-2ubuntu5.6
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
memory_limit: 64M
max_execution_time: 60
safe_mode: Off (False)
session_save_path: /var/lib/php5 (1733)
session.use_cookies: On (True)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a


----------------------------------------------

Re: Fatal Error.

Posted: Mon Nov 02, 2009 8:41 pm
by JeremyBASS
Try to reupload the Orders mod.. have have missed a file...  :D Cheers
Jeremy

Re: Fatal Error.

Posted: Mon Nov 02, 2009 8:44 pm
by johnomcm
So, uninstall it and reinstall?

Re: Fatal Error.

Posted: Mon Nov 02, 2009 8:49 pm
by Peciura
Download new copy of module and simply overwrite files on server.
If that wont help - make back up at least of Orders module (files and DB)- then reinstall.

Re: Fatal Error.

Posted: Mon Nov 02, 2009 8:51 pm
by JeremyBASS
That would be your quickest test and fix... that's were I start... don't reinstall... unless it's new new new...

Only after that, if the reuploaded file still don't work then try to reinstall it.. after backing up...

Re: Fatal Error.

Posted: Mon Nov 02, 2009 8:54 pm
by johnomcm
Still does not work.  I uploaded a brand new copy.

Re: Fatal Error.

Posted: Mon Nov 02, 2009 9:00 pm
by JeremyBASS
back the db if have stuff in there... and yeah reinstall

Re: Fatal Error.

Posted: Mon Nov 02, 2009 9:18 pm
by johnomcm
This will be the 2nd time today. Grrr.

Re: Fatal Error.

Posted: Mon Nov 02, 2009 10:42 pm
by manurevah
hm, i have the exact same error, i've reinstalled modules and such...

: [

Re: Fatal Error.

Posted: Mon Nov 02, 2009 10:47 pm
by calguy1000
There's a bug in the module if the user isn't logged in, I'll be releasing a new version today.

Temporary workaround....put customcontent logic around the Orders call

{if $customcontent_loggedin gt 0}
{Orders}
{/if}

Re: Fatal Error.

Posted: Mon Nov 02, 2009 10:56 pm
by johnomcm
calguy1000 wrote: There's a bug in the module if the user isn't logged in, I'll be releasing a new version today.

Temporary workaround....put customcontent logic around the Orders call

{if $customcontent_loggedin gt 0}
{Orders}
{/if}
ok.

Re: Fatal Error.

Posted: Mon Nov 02, 2009 11:00 pm
by manurevah
thanks mucho..

: ]

Re: Fatal Error.

Posted: Tue Nov 03, 2009 12:55 pm
by manurevah
i got to test the temp solution today, and now the orders page shows up without errors, however it's an empty page..  it seems that if the user is not logged in then the page doesn't show up.  i don't really get the idea of how all these modules are supposed to work together and what is missing.

- should i put a FEU signon form en the case of "ELSE" ?
- does this mean that you can't know what delivery/taxes will be unless you create an account ?

if there is a howto somewhere that someone already wrote a pointer to it would be swell, otherwise i'll of course just have to dig in a bit.

Re: Fatal Error.

Posted: Tue Nov 03, 2009 2:07 pm
by johnomcm
manurevah wrote: i got to test the temp solution today, and now the orders page shows up without errors, however it's an empty page..  it seems that if the user is not logged in then the page doesn't show up.  i don't really get the idea of how all these modules are supposed to work together and what is missing.

- should i put a FEU signon form en the case of "ELSE" ?
- does this mean that you can't know what delivery/taxes will be unless you create an account ?

if there is a howto somewhere that someone already wrote a pointer to it would be swell, otherwise i'll of course just have to dig in a bit.
Yeah I got the same thing.

Re: Fatal Error.

Posted: Tue Nov 03, 2009 6:35 pm
by johnomcm
calguy1000 wrote: There's a bug in the module if the user isn't logged in, I'll be releasing a new version today.

Temporary workaround....put customcontent logic around the Orders call

{if $customcontent_loggedin gt 0}
{Orders}
{/if}
Any word on this?