Invoice error

Hello:

I have these problems about make invoices.

When I press the button to create invoice.
The template does not show my logo. Is added in the template editor and I see it correctly, but in the final bill does not appear.
When I press the CALC button does not work.
When I press the preview button the system displays the following error:
TCPDF ERROR: Some data has Already been output, can not send PDF file

Best regards
Pedro

Please try the current beta, it should be improved. If the last error still exists I’ll need access to see what error happens.
I’ll look into the calc button.
Regards

Hello:

Thanks for your answer
I’m sorry. I try to udpade with beta plugin but a couldn’t.
The system tells me there is a plugin folder with the same name.
I must to uninstall the plugin before?
Best regards
Pedro

Hello again:

I have uninstalled the plugin and I installed the beta.
I still have the same problems.
Also It activated the banner to buy Premium version, but I’ve added my user premium 🙁
I have also seen that I have problem in search engine page like this
http://demo.easyreservations.org/search/ In my version the customer has no option to view the calendar to select dates for booking.
Please tell me how could I send you the login acces and ftp access?
I don’t know if this messeges are private or public for other premium users.

Best regards
Pedro

Send access to support@easyreservations.org and don’t forget the link to the search form.
Regards

Sure.
Thnaks
Best regards
Pedro

The invoice error will be hard to find. All I can say is that before my scripts get executed there’s already something in the output. Probably there’s a whitespace in one of the loaded files.
On this two pages you can find more informations on how to find them:
http://kb2.adobe.com/community/publishing/505/cpsid_50572.html
http://codex.wordpress.org/FAQ_Troubleshooting

For the datepicker the problem is a bit more clear. Your theme is including jquery and datepicker on its own, but it does it wrong and doesn’t check if it’s already loaded and replaces it. Cause of that there are two versions loaded of both and they conflict each other. I would ask the theme developer to fix it. Here’s how to do it right:
http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/

Regards

Thanks.

And about this problems?
————-
1 – Also It activated the banner to buy Premium version, but I’ve added my user premium 🙁
I have also seen that I have problem in search engine page like this

2- When I set a fixed price for a specific reservation, the system calculates tax for this fixed price, but the final amount in the invoice is the basic price plus fixed price tax. That is not correct.
For exmple, look this capture. http://awesomescreenshot.com/0a31ihfse3
————–

Best regards

Hello again:

I tryed to resolve the TCPDF error, but I couldn’t 🙁
In other point I saw than the logo in the invoice set a wrong URL like … /home/mydomain.com/www/wp-content/uploads/2013/07/logo.png you can see here http://awesomescreenshot.com/0241is0sa9

Best regards.
Pedro

1. You mean the add for premium? Should be away with the beta, or if update over the premium settings or generate a modules package on the premiums page here.

2. Already replied in it’s topic that I could improve this. Should be in current beta too, if not in the next one.

3. The image url is correct. The problem are this up to three whitespaces. To find them I would add “var_dump(ob_get_contents());” to every loaded file after another to find out when it’s empty and go down in loading hierarchy from that on.

Regards

Hello:
I fix it. Your file \lib\modules\invoice\editor.php had the first whitespace.
and I change the file generate.php with ” ob_start(); ” and “ob_clean() ” to be shure.
And It works fine.

Regards.

Thanks for sharing the solution, didn’t knew of ob_clean. That’s really awesome to make many function working even if other plugin produces errors.
Regards

You are wellcome

In other point, I’m testing your last beta version. beta43
And in invoice preview in header show this text
int(12331241)

Regards
Pedro

Will be away with next beta.
Regards

You must be logged in to reply in this thread.

Resolved
14 posts