Set Hightlight in PHPNuke 7.8 3.1 causes Illegal Operation Error

Tolwyn

Joined: 2003-08-26
Posts: 23
Posted: Sat, 2006-02-25 19:40

When attempting to set a photo as a highlight, I get "Illegal Operation" in text on an otherwise blank page.

Logged in as "God"
Album Ownership set correctly.
1.5.2 PL2

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sat, 2006-02-25 22:17

Please turn on debugging and post any additional output.

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.

 
Tolwyn

Joined: 2003-08-26
Posts: 23
Posted: Sun, 2006-02-26 04:04

I turned Debug on both for Gallery, and also for Nuke.

The only thing displayed is "Illegal Operation" (blank page in the popup). Unless a log is generated somewhere, Gallery and Nuke aren't telling me much ;)

I should say that going manually to gallery via:

www.sitename.com/modules/gallery works fine for highlighting an album image.

but this method does not:
www.sitename.com/modules?name=gallery

Setting highlight seems to be the only thing not "working" with 1.5.2 PL2 and Nuke 7.8.
For what it's worth, Nuke 7.7 3.1 seems not to be affected by this.

I wish I could give you some trace information, but with Debug On and Integrated with Nuke (with "Show Errors" turned on), it's simply not giving me anything to go off of.

 
Tolwyn

Joined: 2003-08-26
Posts: 23
Posted: Sun, 2006-02-26 04:14

Actually, this may be helpful for you...
It's this "command" that fails to work:

http://www.sitename.com/modules.php?cmd=highlight&index=4&set_albumName=products&type=popup&op=modload&name=gallery&file=index&include=do_command.php

I wonder if it's something in do_command.php that Nuke 7.8 is forbidding?

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Tue, 2006-02-28 01:07

Could be. I don't know anything about Nuke really..

Gallery tends to spit out debug stuff when its broken and debug is on so I'll keep pointing at Nuke. http://www.nukedgallery.net/ may be of more help at this point.

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.

 
Tolwyn

Joined: 2003-08-26
Posts: 23
Posted: Mon, 2006-03-06 21:32

It's an issue with a line in mainfile.php

It's preventing cmd commands in the code. I can comment that out of mainfile.php as a fix, or continue to go to gallery "directly" to highlight, which isn't the best method if I had multiple users (since gallery embedded into Nuke uses Nuke's member directory).

 
Tolwyn

Joined: 2003-08-26
Posts: 23
Posted: Mon, 2006-03-06 21:32

double post (whoops!)