CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Parsing Error

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.