-
1. Re: CS4 - a syntax error on line 27 of list.js.php
Newsgroup_User Dec 18, 2008 3:32 PM (in response to The Wackonerd)The Wackonerd wrote:
> I am getting a message
> "There is a syntax error on line 27 of list.js.php. Code hinting may not work untill you fix this error"
It looks as though you have a corrupt cache file. Follow troubleshooting
step 4 in the following technote:
http://www.adobe.com/go/tn_19105
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/ -
2. CS4 - a syntax error on line 27 of list.js.php
The Wackonerd Dec 18, 2008 6:09 PM (in response to Newsgroup_User)Hi David and thanks for the quick reply.
Anyway I followed your advice and it did not work as the solution you provided is a CS3 solution and from what I can see does not apply to CS4 because the structure is different.
I did a bit of looking around and found the WinFileCashe-3012BA81.dat in
C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver CS4\en_US\Configuration
but this did not solve the issue
I am still hoping you have the solution
thanks -
3. Re: CS4 - a syntax error on line 27 of list.js.php
Newsgroup_User Dec 19, 2008 2:21 AM (in response to Newsgroup_User)The Wackonerd posted in macromedia.dreamweaver
> Hi David and thanks for the quick reply.
>
> Anyway I followed your advice and it did not work as the solution
> you provided
> is a CS3 solution and from what I can see does not apply to CS4
> because the structure is different.
>
> I am still hoping you have the solution
FWIW, a couple of us just recently discovered that (in a different
situation), DW assumed that the file type was determined by the first
three letters following the first dot in a filename.
Hence, xxx.swfOthername.jpq was assumed by DW to be a Flash SWF rather
than the JPEG that it was.
Just guessing that list.js.php may be confusing DW (and me as well -
what is it, JS or PHP?).
So, just suggesting that you try naming the file without multiple dots,
but use a single dot for the extension signifying the file type you
think DW should recognize. Perhaps an underscore for deliniating to
human eyes what the file may reference, but is not. ie: list_js.php
--
Mark A. Boyd
Keep-On-Learnin' :) -
4. Re: CS4 - a syntax error on line 27 of list.js.php
The Wackonerd Dec 19, 2008 3:17 AM (in response to Newsgroup_User)quote:
So, just suggesting that you try naming the file without multiple dots,
but use a single dot for the extension signifying the file type you
think DW should recognize. Perhaps an underscore for deliniating to
human eyes what the file may reference, but is not. ie: list_js.php
The file I refer to "list.js.php" is generated by dreamweaver
It is located in includes/nxt/scripts/
-
5. Re: CS4 - a syntax error on line 27 of list.js.php
Newsgroup_User Dec 19, 2008 4:21 AM (in response to Newsgroup_User)> The file I refer to "list.js.php" is generated by dreamweaver
> It is located in includes/nxt/scripts/
What operation causes it to be generated? I have never seen DW create such
a file.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"The Wackonerd" <webforumsuser@macromedia.com> wrote in message
news:gifvsr$5di$1@forums.macromedia.com...
>quote:
> So, just suggesting that you try naming the file without multiple dots,
> but use a single dot for the extension signifying the file type you
> think DW should recognize. Perhaps an underscore for deliniating to
> human eyes what the file may reference, but is not. ie: list_js.php
>
>
> The file I refer to "list.js.php" is generated by dreamweaver
> It is located in includes/nxt/scripts/
>
>
>
>
-
6. Re: CS4 - a syntax error on line 27 of list.js.php
Newsgroup_User Dec 19, 2008 4:51 AM (in response to Newsgroup_User)The Wackonerd wrote:
> Anyway I followed your advice and it did not work as the solution you provided
> is a CS3 solution and from what I can see does not apply to CS4 because the
> structure is different.
The solution is the same. The location is
Adobe\Dreamweaver CS4\en_US\Configuration
instead of
Adobe\Dreamweaver 9\Configuration
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/ -
7. Re: CS4 - a syntax error on line 27 of list.js.php
Newsgroup_User Dec 19, 2008 8:59 AM (in response to Newsgroup_User)That's great detective work! Please file a bug report here:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Thanks,
Randy
> FWIW, a couple of us just recently discovered that (in a different
> situation), DW assumed that the file type was determined by the first
> three letters following the first dot in a filename.
>
> Hence, xxx.swfOthername.jpq was assumed by DW to be a Flash SWF rather
> than the JPEG that it was.
>
> Just guessing that list.js.php may be confusing DW (and me as well -
> what is it, JS or PHP?).
>
> So, just suggesting that you try naming the file without multiple dots,
> but use a single dot for the extension signifying the file type you
> think DW should recognize. Perhaps an underscore for deliniating to
> human eyes what the file may reference, but is not. ie: list_js.php -
8. Re: CS4 - a syntax error on line 27 of list.js.php
MyNameIsGaver Feb 19, 2012 6:50 AM (in response to The Wackonerd)David,
The link you provided at the top of the window for this solution returning a 404 error message - could you update to reflect the new home for the tn_19105 article.
Tx,
GP
-
10. Re: CS4 - a syntax error on line 27 of list.js.php
MyNameIsGaver Feb 20, 2012 5:42 AM (in response to John Waller)@John,
Thanks for the quick reply...
I wasn' t able to find a fix in the link provided for the specific problem associated with the Developers Tool Box js error that was being reproted in the design window.
But it turns out the problem was fairly obvious after looking at the code... the page form.js.php has single quotes surrounding a block of php code - that also contains single quotes - which terminates the quoted string early. Changing the single quotes to double quotes surrounding the php section on lines 27 & 28 resolves the problem (I think).
Thanks again,
Gaver


