ICEFIRE Webmaster Board  

Go Back   ICEFIRE Webmaster Board > CjOverkill Support Forum > CjOverkill Patches

CjOverkill Patches CjOverkill patches and custom work

Reply
 
Thread Tools Display Modes
  #1  
Old 2nd July 2009, 09:26 PM
Hook Hook is offline
Junior Member
 
Join Date: Jul 2009
Posts: 4
Lightbulb suggestion for cj-conf.inc.php

Hello,
Thank you for your wonderful work, I'm a newbie and trying to set up cjoverkill on my website.

I'm using Zend Framework and I had an error including in.php on my home page controller. The script was not able to connect to db.
So I started debugging a little bit and I have found that all the db connection variables were blank inside my controller, when cjoverkill_connect( ) function is called.

The easiest solution is to change cj-conf.inc.php like this one:
PHP Code:
$GLOBALS['cjoverkill_host']="your host";
$GLOBALS['cjoverkill_user']="your user";
$GLOBALS['cjoverkill_passwd']="your password";
$GLOBALS['cjoverkill_db']="your db"
Hope it can help someone
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.