Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/Compatibility/Other    [ Add a report in this area ]  
Report #:  88330   Status: Closed
D4PHP to RADPHP
Project:  HTML5 Builder Build #:  1319
Version:    3.0 Submitted By:   Ricardo Mendes
Report Type:  Crash / Data loss / Total failure Date Reported:  9/23/2010 6:11:01 AM
Severity:    Critical / Show Stopper Last Updated: 9/23/2010 10:24:38 PM
Platform:    All platforms Internal Tracking #:  
Resolution: Test Case Error (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
I open a form developed D4PHP in the RADPHP , I added a new component DBGRID, I made the connection component.

I uploaded to the server form and is giving the following error.


Fatal error: Cannot redeclare relativepath() (previously declared in /home/rbmweb/htdocs/aquafit/vcl/vcl.inc.php:85) in /home/rbmweb/htdocs/aquafit/rpcl/rpcl.inc.php on line 136

I also upload the folder RPCL.

Steps to Reproduce:
None
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 9/23/2010 10:25:39 PM -
> /home/rbmweb/htdocs/aquafit/vcl/vcl.inc.php:85
> ...
> I also upload the folder RPCL.
Is 'vcl/vcl.inc.php' updated?
As you know, with RadPHP's RCPL, 'vcl/vcl.inc.php' still exists for backward compatibily. But, it contains just one line, now.
http://vcl4php.svn.sourceforge.net/viewvc/vcl4php/trunk/vcl/vcl.inc.php?revision=281&view=markup

Tomohiro Takahashi at 9/23/2010 10:25:45 PM -
If you do not want to replace 'vcl/vcl.inc.php' in your Web server,
please try to repalce
  require_once("vcl/vcl.inc.php");
with
  require_once("rpcl/rpcl.inc.php");
in your application's .php files.

Server Response from: ETNACODE01