mohanjith / web-invoice

Automatically exported from code.google.com/p/web-invoice
GNU General Public License v3.0
0 stars 2 forks source link

multisite error #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. With a multisite system, install wp-invoice on a second blog (not default 
blog)

2.Choose "new invoice" and php error logs gives: WordPress database error Table 
'wordpress.10_users' doesn't exist for query SELECT * FROM 10_users made by 
do_action, call_user_func_array, WP_Invoice->new_invoice, 
wp_invoice_draw_user_selection_form

3.Although there are users for this blog, they do not show up in a select box.

What is the expected output?
I expect to start typing and then see users in my system

What do you see instead?
I don't see any users in an ajax type select.

What version of the product are you using? On what operating system?

Please provide any additional information below.
email: davidmoody@gmail.com for more information.

Thank you!

Original issue reported on code.google.com by davidmoody on 6 Dec 2010 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
Please try http://wordpress.org/extend/plugins/web-invoice/

Original comment by mohanj...@gmail.com on 6 Dec 2010 at 8:38

GoogleCodeExporter commented 9 years ago
I have version: Version: 2.039 and I am running on FreeBSD, Nagios, php 5.2

Original comment by davidmoody on 6 Dec 2010 at 10:32

GoogleCodeExporter commented 9 years ago
Are you positive you are running the latest version of Web Invoice? Please 
download it from http://wordpress.org/extend/plugins/web-invoice/ .

Original comment by mohanj...@gmail.com on 6 Dec 2010 at 10:34

GoogleCodeExporter commented 9 years ago
I will download the latest version as you suggested, remove the old one and 
reinstall. I'll comment the results.

Original comment by davidmoody on 6 Dec 2010 at 10:37

GoogleCodeExporter commented 9 years ago
So far, I have installed the latest version of wp-invoice and get the following 
error when paying an invoice

PHP Fatal error:  Class 'TrackPeer' not found in 
/usr/local/www/wp-content/plugins/web-invoice/gateways/paypal.class.php on line 
62

line 62 is below:
$track = TrackPeer::retrieveByPk($value);

Any thoughts on what the problem could be?

Original comment by supp...@authorpress.net on 6 Dec 2010 at 11:23

GoogleCodeExporter commented 9 years ago
Can you please replace 
/usr/local/www/wp-content/plugins/web-invoice/gateways/paypal.class.php with 
the one attached. It should fix the issue.

Thanks for noticing the issue with PayPal IPN. 

Original comment by mohanj...@gmail.com on 6 Dec 2010 at 11:32

Attachments:

GoogleCodeExporter commented 9 years ago
I will replace and test. Thank you. Now I am having the same trouble with this 
version as before. Attached is a screen capture and here are the details:

1. With a multisite system, install wp-invoice on a second blog (not default 
blog)

2.Choose "new invoice" and no users are shown with php error logs gives:

WordPress database error Table 'wordpress.10_users' doesn't exist for query 
SELECT * FROM 10_users LEFT JOIN 10_usermeta on 10_users.id=10_usermeta.user_id 
WHERE (10_usermeta.meta_key='primary_blog' and 10_usermeta.meta_value = 10) OR 
(10_usermeta.meta_key='10_capabilities') ORDER BY 10_users.user_nicename made 
by do_action, call_user_func_array, Web_Invoice->new_web_invoice, 
Web_Invoice_Decider->Web_Invoice_Decider, web_invoice_options_manageInvoice, 
web_invoice_draw_user_selection_form

Original comment by davidmoody on 6 Dec 2010 at 11:48

Attachments:

GoogleCodeExporter commented 9 years ago
Wow, it seems like I'm running into so many problems.  I replaced the file as 
you suggested and that fixed one error. Thank you. 

The next error I get is when trying to email to client. I hit the "email to 
client button" and get this php error 
PHP Warning:  file_put_contents(): Filename cannot be empty in 
/usr/local/www/wp-content/plugins/web-invoice/lib/dompdf/include/image_cache.cls
.php on line 117

See attached screenshot. 

We are making progress!

Original comment by davidmoody on 7 Dec 2010 at 1:15

Attachments: