wcboyd
Posts: 46
|
| Posted: 07/16/2006, 5:04 PM |
|
My login.php is giving me the following error:
Parse error: parse error, unexpected ';' expecting ')' in path/Common.php on line 19
Line 19 of the Common.php is:
"DateFormat" => "";,
Any ideas why this is happening?
Thanks,
Craig
_________________
Thanks,
Craig
"Stress is the body's way of saying you have not worked enough unpaid overtime." ~ Scott Adams |
 |
 |
peterr
Posts: 5971
|
| Posted: 07/16/2006, 7:59 PM |
|
Looks like the Date Format property is blank in your Connection.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
wcboyd
Posts: 46
|
| Posted: 07/17/2006, 2:39 AM |
|
Thanks Peter. I will check this out and see if it fixes the problem.
Craig
_________________
Thanks,
Craig
"Stress is the body's way of saying you have not worked enough unpaid overtime." ~ Scott Adams |
 |
 |
wcboyd
Posts: 46
|
| Posted: 08/31/2006, 1:10 PM |
|
Peter,
I apologize that this has taken me so long...
I changed the date format in the Connection property and now line 19 of the Common.php looks like this:
"DateFormat" => array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss"),
And now I am getting the login page, but when I login and click on the Login button I just get another login page.
I have verified that the user id and pw are correct.
What am I missing now?
Thanks.
_________________
Thanks,
Craig
"Stress is the body's way of saying you have not worked enough unpaid overtime." ~ Scott Adams |
 |
 |
mrachow
Posts: 509
|
| Posted: 09/01/2006, 12:04 PM |
|
Studios intension to deal with restricted access to pages is as follows.
You click on a link for a page you would like to see. If this page is restricted and you are not logged in you will be routed to login page.
But Studio remembers the page you would like to visit and will route you "automatically" to that page after a successful login.
(Same procedure in case you are logged in already but don't have the needed access level for that page).
So, when you access the login page directly there is no page Studio could guide you to.
For a first try set the property return page of login form to the page you would like to see after a successful login.
_________________
Best regards,
Michael |
 |
 |
wcboyd
Posts: 46
|
| Posted: 09/09/2006, 2:53 PM |
|
Michael,
I am bit thick sometimes...where can this property be located?
Thanks,
Craig
_________________
Thanks,
Craig
"Stress is the body's way of saying you have not worked enough unpaid overtime." ~ Scott Adams |
 |
 |
mrachow
Posts: 509
|
| Posted: 09/11/2006, 5:53 AM |
|
In the designer make the login form the current component (or select it left at the project pane.
You will see these like all properties on the right downside (if you havn't rearranged your window sof course).
_________________
Best regards,
Michael |
 |
 |
|