Page 1 of 1

404 error on edituserplugin when submitting UDT changes

Posted: Tue Jan 31, 2012 4:46 am
by jmcgin51
This site was upgraded to 1.10.3 over the weekend, and everything appeared to be working ok until tonight.

In the admin panel, I pulled up an existing UDT (which existed before the upgrade to 1.10.3), made some minor edits, and clicked Apply. Nothing happened. So I clicked Submit, and got a 404 on the URL http://www.mysite.com/admin/edituserplugin.php (no session id at the end).

I reuploaded the edituserplugin.php file, which didn't help. I then reuploaded all files in the /admin directory, which also didn't help. I'm at a loss. How can the edituserplugin.php file work ok to show the editing page, but then cause a 404 when I try to submit my changes?

edituserplugin.php permissions were 644. I tried 777 with no change in the behavior.

I also tried editing the UDT directly in PHPMyAdmin, but when I load the site page that calls the UDT, it now gives a "string(161) "Smarty error: [in content:content_en line 1]: syntax error: custom function 'software_code_verification' is not implemented (Smarty_Compiler.class.php, line 805)" " I'm not sure if these issues are related.

I can provide full system information if needed. The only warning I get is on the max post size (I have 8M). PHP 5.2.17

Thanks!

EDIT: it is NOT related to one UDT. The firstExpandCollapse UDT (found in this thread: http://forum.cmsmadesimple.org/viewtopi ... ic=16892.0) also causes the 404. I haven't tried all the others, but it appears that some are ok and some are not. The firstExpandCollapse tag refers to the $gCms->config object, which is now no longer valid. But even when I replace $gCms->config with cmsms()->GetConfig(), it doesn't fix the problem.

thx

Re: 404 error on edituserplugin when submitting UDT changes

Posted: Tue Jan 31, 2012 6:52 am
by Rolf
Hi,
Have you checked the PHP Error Log?
Grtz. Rolf