forgot password?


   
1 of 2
1
Need help updating my PHP
Posted: 09 June 2008 11:58 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Hello,

I have changed the 2 specified configuration files in the setup instructions but I receive the following error when I attempt to navigate to http://www.mysite.com/bambooinvoice/index.php:

BambooInvoice requires PHP version 5 or higher. After you have satisfied this, you can try re-installing.

Can someone please help me with this?

I would really like to get this application up and running as this would help my business very much.  Thanks for any help in advance.

Regards,
CaveMan

Profile
 
 
Posted: 09 June 2008 11:59 PM   [ Ignore ]   [ # 1 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

Hi Caveman.

Is this a professionally hosted website?  The fastest resolution would be to ask your host to move you up to PHP 5.

Profile
 
 
Posted: 10 June 2008 09:34 AM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Thanks Derek.

I have contacted my hosting company in hopes that they can upgrade me to a higher version of PHP at no cost smile

Profile
 
 
Posted: 10 June 2008 09:42 AM   [ Ignore ]   [ # 3 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

Good stuff.  I’d be shocked if they charged you caveman, and if they do want money, walk to another host.  PHP 4 was end of life’ed almost a year ago.

Profile
 
 
Posted: 10 June 2008 09:56 AM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Hey Derek,

Done and done...I am going to now test bamboo again and see where I get today...I might be back with some issue(s) I can resolve on my own.

Profile
 
 
Posted: 10 June 2008 10:31 AM   [ Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

I am up and running...so far so good...no errors to my knowledge.  Thanks Derek for your help.

Profile
 
 
Posted: 10 June 2008 10:39 AM   [ Ignore ]   [ # 6 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

Glad to hear it sir!

Profile
 
 
Posted: 10 June 2008 10:40 AM   [ Ignore ]   [ # 7 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Wow...I hope this isn’t a sign, but I just setup my personal settings within bamboo invoice and logged out and went to log back in and I get this error now:

Fatal error: Call to a member function num_rows() on a non-object in /home/.absconds/area_geek/geekeaters.com/bambooinvoice/bamboo_system_files/libraries/Session.php on line 261

Profile
 
 
Posted: 10 June 2008 10:44 AM   [ Ignore ]   [ # 8 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

My guess is you have an old config.  Open /application/config/config.php and set

$config['sess_use_database']    FALSE;

also, make sure log_threshold is at 0.

Derek

Profile
 
 
Posted: 10 June 2008 10:46 AM   [ Ignore ]   [ # 9 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

In fact, if you’re starting with a fresh install, you’re probably best off to restart with all new files, including config/config.php and config/database.php.  This means you’ll need to re-enter some information.

Profile
 
 
Posted: 10 June 2008 10:46 AM   [ Ignore ]   [ # 10 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Alright so the error is caused by me changing $config[’sess_use_database’] = TRUE to FALSE in the config.php file.

I originally made the change to TRUE as suggested in the ‘making bambooinvoice more secure’ section.

Profile
 
 
Posted: 10 June 2008 10:49 AM   [ Ignore ]   [ # 11 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

If a session was in the middle of being used (ie: you were logged in) then it would have gotten “out of sync” and would cause that error.

Sessions persist for some time.  What you could do, is next time you’re done with BI, logout.  Then before you login the next time, change that setting.  The theory is that no sessions will be “in use” and it shouldn’t cause a problem.

Profile
 
 
Posted: 10 June 2008 10:51 AM   [ Ignore ]   [ # 12 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Alright I changed that variable to FALSE and I no longer receive this error message anymore.

Profile
 
 
Posted: 10 June 2008 10:59 AM   [ Ignore ]   [ # 13 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Back again Derek,

I just attempted to create a new invoice and after entering in the information I clicked on create invoice and received the following error(s):

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: invoices/newinvoice.php

Line Number: 5

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

New invoice to

Item Quantity Amount $
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: invoices/newinvoice.php

Line Number: 15

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: invoices/newinvoice.php

Line Number: 16

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: invoices/newinvoice.php

Line Number: 53

Profile
 
 
Posted: 10 June 2008 11:06 AM   [ Ignore ]   [ # 14 ]  
Administrator
RankRankRankRank
Total Posts:  1134
Joined  2007-09-16

If you logout, are you able to login?

Do you have access to PHPmyAdmin?  Can you tell what tables are in your database?

Profile
 
 
Posted: 10 June 2008 11:19 AM   [ Ignore ]   [ # 15 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-04-24

Alright so I can login and logout with no issues…

The tables in my BI database are:

bamboo_clientcontacts
bamboo_clients
bamboo_invoices
bamboo_invoice_histories
bamboo_invoice_items
bamboo_invoice_payments
bamboo_sessions
bamboo_settings

Profile
 
 
   
1 of 2
1