Author |
Message |
Rikk03
Worker
Joined: Feb 16, 2004
Posts: 164
|
Posted:
Mon Mar 08, 2004 12:53 pm |
|
HELP security updates provided by chatserv have resulted in the install guide that comes with newads 6.9 to not work. The symptoms result from addition of the provided code to the settings.php - the problem being that I cannot change my theme any more!
The other thing im getting to grips with is the change from $dbi to $db
But i cannot see the problem - i really dont understand why it doesnt work...........sigh. I have a funny feeling its database related nuke_config insert and extraction.
Richard |
|
|
|
|
scottr
PHP-Portal Project
Joined: Jan 21, 2003
Posts: 41
Location: Southern California
|
Posted:
Mon Mar 08, 2004 1:47 pm |
|
this is the author of News Ads,
i just realized the other day that chatserv's patches wlil overwrite News Ads code therefore i need to rewrite News Ads based on chatserv patched 2.2 files.
the other issue i am dealing with too is i just modified my IP Tracking Module changing the $dbi to the newer $db-> style but now IP Tracking won't work in Nuke 6.0 or less.
i have a post here in the forums ($db vs. $dbi) regarding that but am still waiting for a reply to see if anyone knows a trick for getting $db-> code to work in Nuke 6.0 or less ! |
_________________ DECEASED |
|
|
|
Rikk03
|
Posted:
Mon Mar 08, 2004 1:53 pm |
|
Oh hi - i should of guessed Scott Rubin - i sent you an email the other day, - ive been trying to get newsads to work for 2 days - sigh - using the same style chatserv used for the database calls with $db.
I really dont get why the original settings.php changes mess up the theme changing via the admin preferences, - i dont see why that code wouldnt work?!? do you have any idea why?
You say you cannot get it to work for pre nuke 6.0, does that mean youve got it to work on post 6.0?
If so - YES PLEASE
Im just about ready to give up.
Richard |
Last edited by Rikk03 on Mon Mar 08, 2004 2:05 pm; edited 1 time in total |
|
|
|
Rikk03
|
Posted:
Mon Mar 08, 2004 2:00 pm |
|
Well Ravens just changed servers - so no doubt busy, Chatserv posts here sometimes........Ive just noticed that Artificial Intel has just signed up as a member! Another PHP wiz |
|
|
|
|
Rikk03
|
Posted:
Mon Mar 08, 2004 2:03 pm |
|
Feels like a Panda convention |
|
|
|
|
Raven
Site Admin/Owner
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Mar 08, 2004 2:07 pm |
|
I'm all warm and fuzzy now - how 'bout you? - Now that my server move is complete and the trials with my dad are seamingly at an end, I should be getting back into the swing of things. By Wednesday I should be back; more actively involved. Chat is an Admin here so he is around quite often too. AI surprised the heck out of me today! Haven't chatted with him in a while. I will be looking at that $db. There's nothing code wise that should preclude it from working, but I would look at the values it returns. Chances are the calling code isn't expecting that kind of an object. |
|
|
|
|
scottr
|
Posted:
Mon Mar 08, 2004 2:21 pm |
|
oh hi, i didn't make the connection between you here and your emails.
i gotta redo News Ads for 6.9, i'll post and email you when it's ready.
what's your web site, i don't know too many nuke sites that use News Ads.
if there is no way to get $db-> stuff to work in Nuke 6.0 or less i'll have to fork IP Tracking. |
|
|
|
|
Rikk03
|
Posted:
Mon Mar 08, 2004 2:39 pm |
|
ITS NOT READY - to be shown to the public yet - im like an artist - nobody can see it until i think its ready to be seen!!! But when it is it'll be tagged to all my forum posts - so ull know. Ill link u - but its not property related so i dont know what traffic u will get from me!
BTW im using phpnuke 7.0 so im hoping your redo of 6.9 will work
P.S Do you deal with alot of buy to let for holiday homes? What areas do you cover - what attractions are there in the area u cover? Im from the UK here so i dont really know.
You could say im looking for a good investment.
Richard |
|
|
|
|
scottr
|
Posted:
Mon Mar 08, 2004 3:04 pm |
|
to get $db-> stuff to work in Nuke 6.0 or less.
2 steps:
1. copy the html/db directory from a Nuke 6.5 or higher env to your 6.0 or lower html/ directory.
2. add require_once("db/db.php"); in mainfile.php right after require_once("config.php");
Raven, feel free to tweak what i said if you know a better way.
i see a bunch of code that has ../../db/db.php and stuff but don't think that is needed
to get $db-> stuff to work in Nuke 6.0 or less. |
|
|
|
|
scottr
|
Posted:
Mon Mar 08, 2004 3:12 pm |
|
let's move the $db discussion to my other post called $db vs. $dbi,
i'll paste what said above to that thread right now. |
|
|
|
|
scottr
|
Posted:
Mon Mar 08, 2004 3:14 pm |
|
i tred to post in the $db vs. $dbi thread but i get this message:
Sorry, but only administrators can reply to posts in this forum. |
|
|
|
|
Rikk03
|
Posted:
Mon Mar 08, 2004 3:17 pm |
|
I guess its going to be a major topic of interest! I look forward to understanding it! |
|
|
|
|
Raven
|
Posted:
Mon Mar 08, 2004 3:20 pm |
|
scottr wrote: | i tred to post in the $db vs. $dbi thread but i get this message:
Sorry, but only administrators can reply to posts in this forum. | Fixed - I had locked all forums while I was moving. |
|
|
|
|
|