404 error on edituserplugin when submitting UDT changes

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

404 error on edituserplugin when submitting UDT changes

Post 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
Last edited by jmcgin51 on Tue Jan 31, 2012 2:29 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: 404 error on edituserplugin when submitting UDT changes

Post by Rolf »

Hi,
Have you checked the PHP Error Log?
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “CMSMS Core”