PHP newbie - need help with ecommerce
Posted: Sat Jan 23, 2010 4:27 pm
I have inherited the administration of a PHP website. I'm an html guy with a bit of knowledge about php gained from running a phpBB forum, which is to say not very much at all. I understand includes, and I can use Wordpress templates and edit them a little.
So, that's my background. Now here's the problem.
The website has an ecommerce function for purchasing e-tickets for concerts and events. I have generated some fake sales and I'm getting the following error message when I attempt to print a ticket:
The line of code is as follows:
The php page in question is here:
http://www.arranfolkfestival.com/tickets.php
The PDF is generated using a plug-in from here:
http://www.arranfolkfestival.com/class.pdf.php
http://www.ros.co.nz/pdf
I can give access to the page I've generated with the fake sales to download tickets:
http://www.arranfolkfestival.com/cgi-bi ... stival.com
I did an order for The Paul McKenna band - it generates the error
http://www.arranfolkfestival.com/ticket ... f_RI100605
I then did a bulk order and it actually does print a PDF but it contains many errors
http://www.arranfolkfestival.com/ticket ... f_RI100529
I admit that I am in way over my head with this and realise that I may be asking too much to request help with this, especially since this is my first post! But I thought I would try anyway. I've spent a few hours looking at this already, but am getting nowhere. A committee member is coming to my house on Tuesday night to see if I've made any progress -- he has access to the orders database etc.
Thanks in advance.
So, that's my background. Now here's the problem.
The website has an ecommerce function for purchasing e-tickets for concerts and events. I have generated some fake sales and I'm getting the following error message when I attempt to print a ticket:
Code: Select all
Notice: Undefined variable: eventImage in /home/arralcom/public_html/tickets.php on line 236Code: Select all
$pdf->addJpegFromFile($eventImage,250,324,90);http://www.arranfolkfestival.com/tickets.php
The PDF is generated using a plug-in from here:
http://www.arranfolkfestival.com/class.pdf.php
http://www.ros.co.nz/pdf
I can give access to the page I've generated with the fake sales to download tickets:
http://www.arranfolkfestival.com/cgi-bi ... stival.com
I did an order for The Paul McKenna band - it generates the error
http://www.arranfolkfestival.com/ticket ... f_RI100605
I then did a bulk order and it actually does print a PDF but it contains many errors
http://www.arranfolkfestival.com/ticket ... f_RI100529
I admit that I am in way over my head with this and realise that I may be asking too much to request help with this, especially since this is my first post! But I thought I would try anyway. I've spent a few hours looking at this already, but am getting nowhere. A committee member is coming to my house on Tuesday night to see if I've made any progress -- he has access to the orders database etc.
Thanks in advance.