nerdmaster Posted May 24, 2010 Share Posted May 24, 2010 Hello, When creating a new order the following problem occured: I choose "Generate Invoice" on "Place New Order" form. But invoice hasn't been generated. In order details I see: "Invoice # No Invoice" But invoice was generated and it's there. The problem is that Invoice not binded to Order. It's very strange. Also I've added $display_errors = true; to my configuartion.php file and got: Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'apache'@'localhost' (using password: NO) in /var/www/vhosts/******/httpdocs/includes/dbfunctions.php on line 0 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /var/www/vhosts/******/httpdocs/includes/dbfunctions.php on line 0 Warning: mysql_query(): 3 is not a valid MySQL-Link resource in /var/www/vhosts/******/httpdocs/includes/dbfunctions.php on line 0 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/******/httpdocs/includes/functions.php on line 0 ... Looks like dbfunctions.php script don't use configuration.php to make actual MySQL resource link. Have you any ideas to fix this issue ? Sorry for my bad english Best regards, 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.