Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi4PHP NNTP Newsgroups > embarcadero.public.delphiphp.ide
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

embarcadero.public.delphiphp.ide This is the point of discussion for any issues about using the Integrated Development Environment in the Delphi for PHP product.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22nd January 2010, 00:57
Michael Perrier
Guest
 
Posts: n/a
Default Code Generation Error - The Sequel [Edit]

Following up from my last post on this topic, I think I have found the reason why vcl.inc.php causes errors with the the require_once(...) statement:

It seems that if your Project is on a network drive, typically, a drive letter is assigned (say N:).

However, if you re-open your project that has been stored on a network drive, the UNC naming convention is used to delineate the project name, and subsequent files, forms and everything else.

Well, when you invoke a Generate Source Code, the vcl.inc.php gets stumped by the UNC methodology.

To overcome this problem, I have been storing my projects on the local drive. By storing on the local drive, it eliminates the vcl.inc.php require_once(...) error.

Happy Computing,

michael

Edited by: Michael Perrier on Jan 21, 2010 4:56 PM
spelling errorts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 22nd January 2010, 02:15
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,272
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

from Readme - Delphi for PHP Documentation Wiki

General Notes
Running and Debugging inside the IDE

To run/debug your applications from inside the Delphi for PHP IDE, you must store your projects on the same drive on which Delphi for PHP is setup. This is not a limitation of the product, but a limitation on browsers because they cannot request JavaScript assets between unit drives.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 23rd January 2010, 18:02
Michael Perrier
Guest
 
Posts: n/a
Default Re: Code Generation Error - The Sequel [Edit]

> {quote:title=Delphi-PHP Forums wrote:}{quote}
> from 'Readme - Delphi for PHP Documentation Wiki'
> (http://www.qadram.com/vcl4php/docwiki/index.php/Readme)
>
> General Notes
> Running and Debugging inside the IDE
>
> To run/debug your applications from inside the Delphi for PHP IDE, you
> must store your projects on the same drive on which Delphi for PHP is
> setup. This is not a limitation of the product, but a limitation on
> browsers because they cannot request JavaScript assets between unit
> drives.
>
>
> --
> 405hp
> ------------------------------------------------------------------------
> 405hp's Profile: 1089
> View this thread: Code Generation Error - The Sequel [Edit]


450hp,

Thanks again...It seems that the RTFM rule applies here!

Just to let you know, I find Delphi for PHP EXTREMELY fast! I mean, my Web-based applications are just about as fast, or even faster then my Windows-based Delphi apps! Excellent!

Again, thanks for your help.

Regards,
Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 16:32.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use