Errors on production Working at localhost
Errors on production Working at localhost
Hi
can soembody help me with this issue.
im worked with my test server at localhost using xaamp and it works without any problem. Now i transfer all the files to my production server and i get the following error:
http://stopecas.info/marcas.html you can see it here!
any help will be apreciated.
best regards,
Mario Vital
can soembody help me with this issue.
im worked with my test server at localhost using xaamp and it works without any problem. Now i transfer all the files to my production server and i get the following error:
http://stopecas.info/marcas.html you can see it here!
any help will be apreciated.
best regards,
Mario Vital
This discussion has been closed.
Replies
http://stopecas.info/php/table.marcas.php returns:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/lujow897/public_html/stopecas.info/php/table.marcas.php on line 13
Allan
just ask to my provider to update !
thz allan and aaronw !
i really cant find where is the error !!
[code]
<?php
/*
* Editor server script for DB table marcas
* Automatically generated by http://editor.datatables.net/generator
*/
// DataTables PHP library
include( "lib/DataTables.php" );
// Alias Editor classes so they are easy to use
use
DataTables\Editor,
DataTables\Editor\Field,
DataTables\Editor\Format,
DataTables\Editor\Join,
DataTables\Editor\Validate;
// Build our Editor instance and process the data coming from _POST
Editor::inst( $db, 'marcas' )
->fields(
Field::inst( 'id_marca' ),
Field::inst( 'marca' )
)
->process( $_POST )
->json();
[/code]
here is the file that is returning this issue !
best regards,
Mario VItal
here is the code file table.marcas.php
[code]
<?php
/*
* Editor server script for DB table marcas
* Automatically generated by http://editor.datatables.net/generator
*/
// DataTables PHP library
include( "lib/DataTables.php" );
// Alias Editor classes so they are easy to use
use
DataTables\Editor,
DataTables\Editor\Field,
DataTables\Editor\Format,
DataTables\Editor\Join,
DataTables\Editor\Validate;
// Build our Editor instance and process the data coming from _POST
Editor::inst( $db, 'marcas' )
->fields(
Field::inst( 'id_marca' ),
Field::inst( 'marca' )
)
->process( $_POST )
->json();
[/code]
any clue ?!?
Regards,
Mario