nBill Community nBill Home Page
22/May/2012, 11:27:49 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: nBill failed to install due to moved Joomla configuration.php file.  (Read 812 times)
wcheng
Jr. Member
**
Offline Offline

Posts: 2


View Profile
« on: 19/October/2011, 08:21:03 PM »

Trying to install the latest nBill on Joomla 1.7.2. Install completed successful from Extension Manager. When I click the nBill from component menu, it gives error message:

"Sorry, it looks like nBill failed to install correctly! If you are using Joomla 1.5 or above and have moved the Joomla configuration.php file to a different location, you must enter the location of that file in the nBill configuration file (D:\ezfixing\administrator\components\com_nbill/framwork/nbill.config.php). Otherwise, please try unintalling and re-installing. If that does not help, please refer to the troubleshooting section of the documentation at www.nbill.co.uk/help/.

Return to Home Page.
"

I'm new to Joomla and nBill and I didn't remove any configuration file since I installed Joomla. I did update from 1.7.1 to 1.7.2 and installed some extensions. Also, ionCube is installed and tested no problem.

Please help.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 20/October/2011, 08:21:19 AM »

That error indicates that either some files are missing or some database entries are missing, so the installation did not complete. The only way I can fix it is if you can give me access to your Joomla administrator to investigate, so please submit a support ticket: https://www.nbill.co.uk/index.php?option=com_nbill&Itemid=60&action=nb_helpdesk
Logged
wcheng
Jr. Member
**
Offline Offline

Posts: 2


View Profile
« Reply #2 on: 23/October/2011, 12:07:41 PM »

Just do a follow up on this issue if someone has similar problem.
nBill tables can't be created by installing the component. Platform is windows 2003 IIS + php 5.2.17 + MySQL 5.1 + Joomla 1.7.2.
Asked Russell for sql script to manually create tables fixed the issue.

Thanks for help, Russell.
Logged
marcel073
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #3 on: 12/January/2012, 11:49:30 AM »

Hi,

I have exactly the same problem as wcheng. Could you post the solution?

- Joomla 1.7.3
- Succesfully installed via extention manager

Message:
Sorry, it looks like nBill failed to install correctly! If you are using Joomla 1.5 or above and have moved the Joomla configuration.php file to a different location, you must enter the location of that file in the nBill configuration file (/*******/admin/administrator/components/com_nbill/framework/nbill.config.php). Otherwise, please try uninstalling and re-installing. If that does not help, please refer to the troubleshooting section of the documentation at www.nbill.co.uk/lite/help/.

Thanks for any help,
« Last Edit: 12/January/2012, 11:52:12 AM by marcel073 » Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #4 on: 12/January/2012, 08:43:31 PM »

Try this:

Unzip the attached file on your computer and open the .sql file it contains in a text editor such as PSPad. Do a search and replace on "#__", replacing it with whatever table prefix your installation of Joomla is using. Then import the file into your database using a tool such as phpMyAdmin. Then try installing nBill Lite again.

Note, the attached file can be used with either the standard edition or the lite edition of nBill, but only with version 2.3.0 - do not try to use it with any other version.

* blank_nbill_lite_2_3_0_database.zip (18.89 KB - downloaded 14 times.)
Logged
marcel073
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #5 on: 13/January/2012, 11:49:01 AM »

Hi netshine,

Thanks for your reply.

I did the following:
- uninstalled nbill component
- imported your sql file with all #__ replaced by nwn39_
- verified that table enties exist
- installed nbill_2_3_0_LITE_for_joomla_1.6_plus.zip again via extention manager

However I get the same error message when I go to components -> nbill

Any ideas what went wrong?

Thanks in advance.
« Last Edit: 13/January/2012, 12:06:09 PM by marcel073 » Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #6 on: 13/January/2012, 05:47:29 PM »

That message indicates that nBill was not able to read the vendor record from the database. This could either be because there is no vendor record in the database (unlikely if you executed the sql file I uploaded before), or that nBill cannot connect to your database for some reason. It tries to parse the Joomla configuration.php file to find the database connection details, which is why it suggests the possibility that your configuration.php file might have been moved. If you have Joomla 1.5, you could try putting it in legacy mode - that would cause nBill to use the Joomla API for database connection (which it does not do normally as the standard edition is not GPL).

I'm afraid I cannot afford to spend time providing free support for nBill Lite though, so unless you move on to the standard edition and have the same problem, there isn't much more I can do, sorry.
Logged
marcel073
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #7 on: 17/January/2012, 01:29:46 PM »

Hi netshine,

I now have a Trial License Key for the full version of nBill. Could you help me set it up? If the software does what is says I will buy a license key.

- I use Joomla 1.7.3
- imported the blank database you sent earlier
- succesfully installed nBill 2.3.0 via extension manager

However when I start nBill I get the following message:
Sorry, it looks like nBill failed to install correctly! If you are using Joomla 1.5 or above and have moved the Joomla configuration.php file to a different location, you must enter the location of that file in the nBill configuration file (/xxxxxxxx/administrator/components/com_nbill/framework/nbill.config.php). Otherwise, please try uninstalling and re-installing. If that does not help, please refer to the troubleshooting section of the documentation at www.nbill.co.uk/help/.
Return to Home Page


Thanks for your reply.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #8 on: 17/January/2012, 02:05:08 PM »

Please submit a pre-sales support ticket, as I would need access to your site to investigate: https://www.nbill.co.uk/index.php?option=com_nbill&Itemid=60&action=nb_helpdesk
Logged
marcel073
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #9 on: 17/January/2012, 03:36:38 PM »

Thanks. I submitted a ticket.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #10 on: 17/January/2012, 04:01:48 PM »

It turns out your hosting company is a bit old fashioned and has not enabled mysqli for PHP. I edited the nBill config file (/administrator/components/com_nbill/framework/nbill.config.php) and enabled the older mysql mechanism which seems to have fixed it.
Logged
marcel073
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #11 on: 17/January/2012, 04:11:09 PM »

Hi netshine,

Thanks for your quick fix for this problem! Excellent!

Regards,

Marcel
Logged
mzamorar
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #12 on: 31/January/2012, 12:00:07 PM »

Hi,
I have the same problem as Marcel073 and Wcheng after installing nbill_2_3_0_LITE_for_joomla_1.6_plus.zip. I've imported succesfully the blank_nbill_lite_2_3_0_database.zip file in my database and followed the steps suggested by Netshine, but still have the problem. Can you help me please? My system information is:

MySQL: 5.0.92-50-log
PHP: 5.2.16
Joomla: Joomla! 1.7.3 Stable

Thanks,
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #13 on: 31/January/2012, 02:30:13 PM »

Did you change the value of the $mysql variable in /administrator/components/com_nbill/framework/nbill.config.php as described above?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!