The error in the footer is independent of the random image block. I have been having the footer error since I switched from DeepBlue, to fiblue 3d for the theme of the site. The random image block was only installed a couple of days ago, without any troubles, other then when I placed it in the NSN Center block module, and opened the forums module up, it forgot which database to use. (Actually both modules I am using from Warp-Speed.de seemed to forget when I placed them in the center block system, and was in the forums module. I haven't tracked that error down yet, and just moved them to the right hand side for now, which has fixed that problem.) As for the center block module from NSN being the source, I installed it after the troubles with the footer, and theme screw-ups began.
Here is the only output I get from debug mode being turned on:
Code:
SQL query: SELECT uid, popmeson FROM nuke_users where uname='Ryan'
Unknown column 'uid' in 'field list'
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/tempestgate.net/httpdocs/includes/sql_layer.php on line 288
Unknown column 'uid' in 'field list'
I have corrected the problem with the random image block. It was due to having the module set to registered users only, and the block to all users. I found a similar conflict with the calendar block and module. Now both are set for registered users only, as the modules are.
The admin images seem immune to the problem, while the topic images are affected. It seems that only images from the theme, such as the outer lines, and topic images are affected. The images called from blocks, such as user info, random image, the printer friendly, send to a friend, and the banner image are unaffected. Everything else seems to go. I am curious if PHP Nuke is some how filtering the output from the theme. If so, why is it doing it seemingly randomly? Why not every time? I notice on every image with an alternate text that does not show, PHP Nuke has escaped the double qoute before and after it. Also any links such as those in the user's custom block cease to function, and point to invalid locations, regardless of whether or not they were hardcoded or relatively coded.
The only modules that seem to be immune to this trouble so far are the forums, your account, member's list, and the two I have written, and the banner display. (The the banner display did fail when I enabled debug, and had the problem occur, but no info was given on it.) I have tried enabling and disabling each module, and still get the troubles, I have also tried the same with blocks to no avail. I have also tried tracking which modules I was in at the time, to see if it was a given module, without luck, other then the ones I mention below. I do not get this trouble when using one of the themes that came with PHP Nuke, such as DeepBlue, which is what I used to do almost all of the base line setup, before I removed all themes, other then fiblue 3d, and disabled the ability to change themes for each user in the admin side.
The following is a sample of how the image location is being messed up, causing them not to load:
Code:
http://www.tempestgate.net/"images/powered/nuke.gif/"
The correct coding should be:
Code:
http://www.tempestgate.net/images/powered/nuke.gif
The alt text from an incorrect image such as the one I have posted the link for above will read:
Quote:
|
\"Website powered by PHP Nuke\"
|
Instead of:
Quote:
|
Website powered by PHP Nuke
|
Out of very odd curiousity, could this be a problem of the database itself? When I opened the SQL file up in my editor that I use for programming, and such, the color coding for it didn't go right, as it found problems with double qoutes and such, that were part of the original database file. Having seen the same on prior versions of PHP Nuke, from the images and such that were coded into the database file, and ran without troubles, I didn't do anything about such, and just installed the database as is.
I have had this trouble with PHP Nuke, and themes, since 6.0... The only themes that have worked without any troubles are the ones that came with PHP Nuke's core package.
PS: If any theme designers wish to work with me on a few themes based off of ideas I have and am putting to use on the Tactical Nuke project / fork, please drop me a note at my site, or a quick post in reply to this one. No real graphics expertise is needed, but knowledge of PHP Nuke's theme system, and filtering systems is a must. I don't have the time to learn everything with all I have going on at the moment...