NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·PHPNuke 8 security worries
·PHP-Nuke SQL Injection Vulnerability Fix
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: tones
Today: 1
Yesterday: 2
Overall: 15105

Visitation:
Guests: 524
Members: 0
Total: 524


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Download the Best Archiver in the World
Download the Best Archiver in the World

NukeResources :: View topic - calendar 2.3 fails under 3.2 security update (details)
NukeResources Forum Index

NukeResources Forum Index -> Upgrading PHP-Nuke -> calendar 2.3 fails under 3.2 security update (details)
Post new topic  Reply to topic    View previous topic :: View next topic 
calendar 2.3 fails under 3.2 security update (details)
PostPosted: Wed May 03, 2006 5:30 pm Reply with quote
dennitzio
Resource Seeker
Resource Seeker
 
Joined: May 03, 2006
Posts: 4




I have a shared site running PHP-Nuke 7.8 provided by my host. I'm running Calendar 2.3, which appears to be a mod of Event Calendar 2.1. It ran perfectly under the vanilla 7.8. I downloaded the calendar from this site - http://www.nukeresources.com/downloadview-details-962-Event_Calendar_for_nuke_7.5.html

In order to install Approve Membership 6.1.6, I was told to install the 3.2 Security Patch. After installation, the calendar doesn't work correctly. Here are the problems as I've found them. I'm not a coder, so I'm sure there something obvious I'm not seeing to try - please give me a hint if you want to try something or see the source code.

    When I clicked on the Calendar module admin I got an "Illegal Operation" error. The Calendar block shows OK.

    I searched the site code for this phrase, and after numbering each one I found the problem to be in the mainfile.php. I commented out the section below:
    // This block of code makes sure $admin and $user are COOKIES
    // if((isset($admin) && $admin != $_COOKIE['admin']) OR (isset($user) && $user != $_COOKIE['user'])) {
    // die("Illegal Operation 1");
    // }
    That seems to have removed the error.

    I tried fiddling with the cookie settings on my browsers, but nothing made a difference other than commenting out that code.

    Now clicking on the calendar icon in the modules admin brings up a blank page, as does clicking on a date in the block.

    I looked for Illegal Operation code in the Calendar module and commented it all out. No surprise, the module disappears from the admin panel.

    I searched various sites for solutions. The only fix I found was on these forums, and it recommended on http://www.vsmr.net/modules.php?name=Downloads&d_op=viewdownload&cid=2 to comment out references to ADMIN_FILE. I didn't exactly have the same problem, because I'm not getting any error at all. When I tried it, the Calendar dropped from the Modules admin and it was still blank to click on a date.

I noticed that others have looked for solutions to no avail; has anyone found anything useful they can share?

Den
View user's profile Send private message
PostPosted: Wed May 03, 2006 6:58 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




A blank page usually indicates and error. Please enable error reporting and check your error logs

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Wed May 03, 2006 7:16 pm Reply with quote
dennitzio
Resource Seeker
Resource Seeker
 
Joined: May 03, 2006
Posts: 4




Evaders99 wrote:
A blank page usually indicates and error. Please enable error reporting and check your error logs


I'm glad a specific error can be figured out from this. Can you point me? I'm never sure which config.php I'm supposed to be changing.
View user's profile Send private message
PostPosted: Thu May 04, 2006 9:10 am Reply with quote
darklord
Resourceful
Resourceful
 
Joined: Feb 25, 2006
Posts: 210




in ur NUKE config.php change the
Code:
$display_errors = false;


to
Code:
$display_errors = true;

this will provide u with an error on the page that will allow either u or us to pinpoint the exact problem

if u have all or part of SECURE ADMIN installed
then u should see another directory called kernal..the config.php in the kernal directory would be the appropriate config.php to alter..if you do not have this installed then itll be in the same directory as the mainfile.php

_________________

for those who STAND shall NEVER fall and those who fall shall rise once more...never give up the end is just another beginning.
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
PostPosted: Thu May 04, 2006 10:38 pm Reply with quote
dennitzio
Resource Seeker
Resource Seeker
 
Joined: May 03, 2006
Posts: 4




darklord wrote:
in ur NUKE config.php change the
Code:
$display_errors = false;

to
Code:
$display_errors = true;

this will provide u with an error on the page that will allow either u or us to pinpoint the exact problem

if u have all or part of SECURE ADMIN installed
then u should see another directory called kernal..the config.php in the kernal directory would be the appropriate config.php to alter..if you do not have this installed then itll be in the same directory as the mainfile.php


Thanks, darklord. I do not have a folder called "kernal", so I'm assuming I'm supposed to modify the config.php file in my root. I changed the error display to "true".

Unfortunately, it's NOT working - I'm still seeing a blank screen. Is there a different error reporter I should try?
View user's profile Send private message
PostPosted: Fri May 05, 2006 12:53 am Reply with quote
darklord
Resourceful
Resourceful
 
Joined: Feb 25, 2006
Posts: 210




check ur cpanel for errors as well...there should be a site log to log all the errorz ur domain has hit. even if error display is off these should still be listed.

_________________

for those who STAND shall NEVER fall and those who fall shall rise once more...never give up the end is just another beginning.
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
PostPosted: Fri May 05, 2006 8:29 pm Reply with quote
dennitzio
Resource Seeker
Resource Seeker
 
Joined: May 03, 2006
Posts: 4




darklord wrote:
check ur cpanel for errors as well...there should be a site log to log all the errorz ur domain has hit. even if error display is off these should still be listed.


I went through the HTML Error log and cannot find any related errors. I can see the access in the access log, but that's all. I can't find any other logs. I'm on a shared host, so I don't know if it's normal to keep it off.

If there's an SQL error log I can't find it in the MyPHPAdmin. Any other ideas? Thanks again for the help.
View user's profile Send private message
PostPosted: Tue Aug 15, 2006 3:39 pm Reply with quote
kgt
Resource Seeker
Resource Seeker
 
Joined: Aug 15, 2006
Posts: 1




Did you ever find a solution to this? I am having the same issue. Illegal Operation occuring on the same line when trying to use the Calendar admin.
View user's profile Send private message
PostPosted: Wed Aug 16, 2006 2:02 am Reply with quote
Dove
Resourceful
Resourceful
 
Joined: Mar 17, 2004
Posts: 140
Location: USA




http://www.nukefixes.com/ftopict-1828-calender.html+calendar
View user's profile Send private message
calendar 2.3 fails under 3.2 security update (details)
 NukeResources Forum Index -> Upgrading PHP-Nuke
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 173 unique hit(s) in the past 24 hours.
Forums ©
NukeZone Hosting - Fast, Affordable and Dependable


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 3.31 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::