This topic is locked

Advance security settings not working

4/2/2008 8:45:33 PM
PHPRunner General questions
A
anjeko author

Please advise what the problem with Advance Login settings causing error in PHP v4.2 build 360

when settings are:

users can see others data.
I am unable to execute the relevant php script for view with error related to Smarty like this:
Error type 256

Error description Smarty error: [in My_Activities_list.htm line 524]: syntax error: mismatched tag {/foreach}. expected {/if} (opened line 450). (Smarty_Compiler.class4.php, line 2286)

URL localhost/aa_depo_repair/clients/output5/My_Activities_list.php?

Error file c:\easyphp\www\aa_depo_repair\clients\output5\libs\Smarty.class4.php

Error line 1099

SQL query SELECT id, Activity_Date, Job_Nbr, Barcode, User_ID, Activity_Name, Contact_Name, Call_Type, Priority, Comments, Done, UserID FROM job_activities ORDER BY Job_Nbr, Activity_Date DESC
I checked my settings and are correct as per help screen.
Regards,

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Update for this problem:

I tested version with Inline edit and failed, but later I tested version with Edit (only) and it's OK no error in Smarty. Thus I think the problem only occured with INLINE EDIT. Can this be fixed?

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
anjeko

J
Jane 4/3/2008

Hi,
it's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.