Jump to content

No Invoice ID after order placed


Recommended Posts



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,

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated