![]() |
|
|||||||
| embarcadero.public.delphiphp.deployment This group is for discussing deployment of applications with Delphi for PHP. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have made a simple web application. After deploying on a web server I get the following error:
*Quote:* *Warning: require_once(vcl/PEAR/peardatagrid.inc.php) [function.require-once]: failed to open stream: No such file or directory in D:\web\104005\beta.kerber-netz.de\Datenbank\vcl\vcl.inc.php on line 145* *Fatal error: require_once() [function.require]: Failed opening required 'vcl/PEAR/peardatagrid.inc.php' (include_path='c:\system\web\php\includes') in D:\web\104005\beta.kerber-netz.de\Datenbank\vcl\vcl.inc.php on line 145* At my local computer it works fine, but not at the web server. The application is very simple: 4 components Komponenten: Database, Datasource, Table und DBGrid. And the Database is MySQL. |
| Sponsored Links |
|
|
|
|||
|
> {quote:title=Rainer Kerber wrote:}{quote}
> I have made a simple web application. After deploying on a web server I get the following error: > > *Quote:* > > *Warning: require_once(vcl/PEAR/peardatagrid.inc.php) [function.require-once]: failed to open stream: No such file or directory in D:\web\104005\beta.kerber-netz.de\Datenbank\vcl\vcl.inc.php on line 145* > > > *Fatal error: require_once() [function.require]: Failed opening required 'vcl/PEAR/peardatagrid.inc.php' (include_path='c:\system\web\php\includes') in D:\web\104005\beta.kerber-netz.de\Datenbank\vcl\vcl.inc.php on line 145* > > At my local computer it works fine, but not at the web server. The application is very simple: 4 components Komponenten: Database, Datasource, Table und DBGrid. And the Database is MySQL. You need to modify your php.ini to add the path where PEAR resides, inside the VCL folder, to the include_path setting, if you cannot modify that file, let me know and I will provide an alternative method. Regards -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |
|
|||
|
Hello,
> {quote:title=Jose Leon wrote:}{quote} > You need to modify your php.ini to add the path where PEAR resides, inside the VCL folder, to the include_path setting, if you cannot modify that file, let me know and I will provide an alternative method. It is not my own server. It would be nice, when you write the alternative method. Greetings Rainer |
|
|||
|
> {quote:title=Rainer Kerber wrote:}{quote}
> Hello, > > > {quote:title=Jose Leon wrote:}{quote} > > You need to modify your php.ini to add the path where PEAR resides, inside the VCL folder, to the include_path setting, if you cannot modify that file, let me know and I will provide an alternative method. > > It is not my own server. It would be nice, when you write the alternative method. > > Greetings > > Rainer Then you will need to do it from your script, a nice place would be vcl.inc.php, checkout this page: http://es.php.net/manual/en/function...clude-path.php Specifically this sample: <?php $path = '/usr/lib/pear'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); ?> And change $path by the real path where the subfolder PEAR is located. Regards -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |
|
|||
|
Hello.
> {quote:title=Jose Leon wrote:}{quote} > You need to modify your php.ini to add the path where PEAR resides, inside the VCL folder, to the include_path setting, if you cannot modify that file, let me know and I will provide an alternative method. The provider has changed the settings. Now I get get the following error: > {quote:title=Error Message:}{quote} > The Provide has changed the settings. But now, I get the next error: > Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect? > URL:file///c:/system/web/php/includes/vcl/xajax/xajax_js/xajax.js The provider says, the path is correct. |
|
|||
|
> {quote:title=Rainer Kerber wrote:}{quote}
> Hello. > > > {quote:title=Jose Leon wrote:}{quote} > > You need to modify your php.ini to add the path where PEAR resides, inside the VCL folder, to the include_path setting, if you cannot modify that file, let me know and I will provide an alternative method. > > The provider has changed the settings. Now I get get the following error: > > > {quote:title=Error Message:}{quote} > > The Provide has changed the settings. But now, I get the next error: > > Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect? > > URL:file///c:/system/web/php/includes/vcl/xajax/xajax_js/xajax.js > > The provider says, the path is correct. Does your webserver has two drive units? Regards -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |