This topic is locked

Parse Error - syntax errof, unepxected T_string

1/23/2008 3:27:27 AM
PHPRunner General questions
A
asidu author

I just managed to installing a demo version of phprunner.

Ran the wizard to create the JOBS project.

Every thing worked fine manage to see the login in page.

Able to browse around what ever the Wizard created.

Yet to do any modifications to the database
I have two issues :

  1. When clicking on the Sign in as Guest link. Nothing happens.

    Tried adding the user guest to the access list. With out any success.
  2. When I click on the jobs link in the main page..i get the error below in browser.
    Parse error: syntax error, unexpected T_STRING in /home/asidu/public_html/jobs/include/jobs_events.php on line 158
    Had a look in the jobs_events.php and find the following code on line 158
    jobs_events.php
    global $conn,$smarty;
    $rstt = db_query("select `Title`, concat(City,', ',state,' ',Zip) as Location, jobtype.Type as Category From `jobs` left joi

    n jobtype on jobtype.ID=jobs.TypeID where jobs.ID=".$_REQUEST["editid1"], $conn);

    $data=db_fetch_array($rstt);

    $smarty->assign("show_Title",$data["Title"]);

    $smarty->assign("show_Category",$data["Category"]);

    $smarty->assign("show_Location",$data["Location"]);
    Is there an issue with the above code ?
    Also Uploaded all the files to the Demo Site.
    Any help to resolve would be appreciated.
    Thank you.

J
Jane 1/23/2008

Please send to [email=support@xlinesoft.com]support@xlinesoft.com[/email] 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.

C
cecotto479 1/23/2008

Can you post the fix here please, because I have exactly the same problem.

A
asidu author 1/23/2008

Please send to [email=support@xlinesoft.com]support@xlinesoft.com[/email] 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.


Thanks. I will send the test site URL the support for their study.

I reckon there is some thing wrong with the generated PHP codes.
Login in as Guest, and the jobs link is pointing to the same file viz jobs_list.php
So the two problems are actually created by the same code file.