micdee
-
Posts
22 -
Joined
-
Last visited
Posts posted by micdee
-
-
Since I'm not coder, so all I can do is read and try, test and see result.
So far only thing worked as in I did get a page, was to "ignore" that line by // it.
Will this result in problems?
-
Hi,
First of all thank you for your contribution. I was looking for a good order editor.. and saw this contribution.
I installed it on a fresh 2.3.4 BS version. (only style addaptions)
When I open the order handler in admin I see a blank page and in the log file on the server I see:
" PHP Parse error: syntax error, unexpected '[' in ......./catalog/admin/includes/modules/order_handler/general_functions.php on line 575, referer: ...../catalog/admin/index.php "
Line 575 in the general functions.php is:
574 function dump( $var ) {
--> 575 $backtrace = debug_backtrace() [0]; <--
576 $fh = fopen($backtrace['file'], 'r');
577 $line = 0;
578 while (++$line <= $backtrace['line']) {
579 $code = fgets($fh);
580 }
581 fclose($fh);
582 var_dump( "\n$line: " . trim( $code ) . "\n________________________________________" );
583 var_dump($var);
584 die;
585 }When I searched for the error message, I read that it might have to do with the version of php :
This is the info I get from the server with the admin tool server info:
MySQL 5.5.47-0ubuntu0.12.04.1
and
PHP Version: 5.3.10-1ubuntu3.16 (Zend: 2.3.0)
Any idea's what the problem can be...
jQuery/Ajax Advanced Order Handler for osCommerce 2.3.3
in General Add-Ons Support
Posted
@@kymation, :thumbsup: tnx for the last suggestion. With that code I see the page.