Well I have so pinged off with this ORCA thing, it really got my blood boiling, and I could not let it get the better of me. I was correct in thinking the paths in the orca/inc/header.inc.php file were picking up the wrong values and I was right.
The code is picking up the values in the orca/inc/ folder, not the yourdomain/inc folder.
So here is the fix I managed to get working, I am NOT a coder so someone with some knowledge can maybe make a more secure way to do it and let us 'dumbies' know.
1. copy yourdomain/inc/header.inc.php and place it in your orca/inc folder and rename it, example header1.inc.php
2. copy yourdomain/inc/db.inc.php and place it in the same folder, no need to rename.
3. copy yourdomain/inc/admin.inc.php and do the same as 2.
4. copy yourdomain/inc/utils.inc.php and do the same as 2.
5. in your orca/inc/header/inc.php file and place this code in from line 21
6. go to line 71 and place this code in thereCode:require_once("{$dir['inc']}header1.inc.php"); require_once("{$dir['inc']}utils.inc.php"); require_once("{$dir['inc']}db.inc.php"); require_once("{$dir['inc']}admin.inc.php");
That is how I managed to get it to work.Code:$gConf['db']['host'] = $db['host']; // hostname $gConf['db']['db'] = $db['db']; // database name $gConf['db']['user'] = $db['user']; // database username $gConf['db']['pwd'] = $db['passwd']; // database password
Goodluck, hope this helpsslip
![]()


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks