Author |
Message |
64bitguy
The Mouse Is Extension Of Arm

Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Mon Sep 26, 2005 6:46 pm |
|
Hi
Extremely bizzarre problem to report.
While recoding PHP-Nuke 7.8's Advertising module, I discovered that the block named "block-Advertising.php" would not show up on the blocks list.
If I renamed that exact same block to "block-Ads.php" it would.
I have no idea what would cause that problem
To add insult to injury, I added a copyright notice to the module; however, when you click on that Copyright notice, you get a 500 Error inside the copyright notice.
Again, no idea what could be causing that.
For the heck of it, I used the exact same copyright notice that works in another 7.8 module... same result.. no workie in the Advertising Module.
Then, I thought maybe this problem was related the sub-domain, so I copied the entire module with the copyright to my 76 sub-domain, only it worked there.
So, this is either a new NukeSentinel issue (anything past 2.1.3) or a new Nuke 7.8 issue. Which I haven't figured out yet. I've checked all of the includes and the mainfile, but I've no clue so far what could be causing either the block or module issue.
Anybody have any ideas on what could be causing this?
Steph |
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Sep 26, 2005 7:25 pm |
|
It's there in my 6.9 also. I can't imagine how NukeSentinel would have anything to do with the blocks listing. NukeSentinel doesn't operate on code like that. We need a virgin 7.8 site to test this on. If no one else has one I'll throw one up. BTW, it works all the way to Advertisin.php and/or AdvertisingStandard.php. It's just the full word. I've seen this before and addressed it - somewhere. I need to dig in my archives ..... |
|
|
|
 |
64bitguy

|
Posted:
Mon Sep 26, 2005 8:04 pm |
|
What's weird is that it works fine on both of my 7.6 domains. |
|
|
|
 |
Raven

|
Posted:
Mon Sep 26, 2005 8:06 pm |
|
|
|
 |
64bitguy

|
Posted:
Mon Sep 26, 2005 9:57 pm |
|
One is patched 2.8 one is patched 3.1 |
|
|
|
 |
Raven

|
Posted:
Mon Sep 26, 2005 11:18 pm |
|
Go into phpMyAdmin and delete the block(s) from the table. Once I did that it got restored correctly. Don't know - Don't care  |
|
|
|
 |
64bitguy

|
Posted:
Tue Sep 27, 2005 12:00 am |
|
Well, mine wasn't even active. It simply would not show up as an available block in the first place. Like I said, when I renamed the file, it showed up as an available file which allowed me to actually create the block.
If I have it in there as just block-Advertising.php it won't show up as an available block.
What about the Copyright function in the Module?
Steph |
|
|
|
 |
Raven

|
Posted:
Tue Sep 27, 2005 12:12 am |
|
Mine wasn't active either. I had more than 1 block like that that wouldn't show. After I deleted them from the table they showed right up. |
|
|
|
 |
64bitguy

|
Posted:
Tue Sep 27, 2005 2:07 pm |
|
You're not going to believe this, but turning output buffering on fixed it.
I couldn't beleive that it wasn't on already on my domain, but I added it to my php.ini and suddenly it started working. No idea why this only affected 7.8
Steph |
|
|
|
 |
Raven

|
Posted:
Tue Sep 27, 2005 4:44 pm |
|
Output buffering is always on on my server so for me, that wasn't it. Very strange one indeed. Mine just required dropping and readding. I wonder if adding it really helped or the fact that you restarted Apache? |
|
|
|
 |
64bitguy

|
Posted:
Tue Sep 27, 2005 4:50 pm |
|
That could be, but it makes me wonder why it would work on all domains except this one.
Steph |
|
|
|
 |
Raven

|
Posted:
Tue Sep 27, 2005 6:16 pm |
|
An easy test would be to turn ob off and restart Apache. |
|
|
|
 |
BobMarion
Former Admin in Good Standing

Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Fri Oct 14, 2005 8:34 pm |
|
As far as I can find within NukeSentinel there is nothing blocking "Advertising" but I will look deeper. |
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
 |
|