Posted: December 3, 2013 at 4:29 am
|
Hi there, I’m having issues with my ticket. Please tell me which files I need to edit and where I can find them. Greetings http://events-vnab.nl/images-mailchimp/ticket.PNG
|
|
Here’s the image |
|
Hi, Regarding the error, the PDF creator does not at this time support transparent images. Please save a version with a solid background and use that and that should resolve it. We have a guide on creating custom tickets that will help you with your other queries – https://eventespresso.com/wiki/how-to-create-a-custom-ticket/ |
|
Thanks, I have replaced the transparant logo in my website and the transparant logo in my ticket. But the error at the top remains unfortunatly. |
|
Hi, Have you tried with a jpg file? |
|
Still no results.. |
|
No solutions? |
Can you try renaming the image file so that it does not include an underscore? ( _ ) |
|
|
Unfortunatly nothing.. |
|
This is very confusing, the only time I have seen this error is down to a transparent image. Is it possible to get your login details in order to look into this? If so, please send them via https://eventespresso.com/send-login-details/ NOTE: login details need to be Admin level and FTP details are appreciated. |
|
Done. |
|
Thanks, I sent you an email. |
|
Hi, OK I am unable to resolve this. I have raised a developer ticket to look into it to see if they can figure out if it is the plugin that needs tweaking or something server related. We will get back to you about this. |
Hi there, I think it’s a server configuration issue. I downloaded the logo image from: http://events-vnab.nl/wp-content/uploads/2013/12/vnabweblogo21.jpg and added it to a test ticket on a testing server and I’m not seeing the warning. It may be that your server is configured in such a way that the file permissions set for the /uploads directory are not allowing the getimagesize function to access the files there. Can you try this: You can make a small edit to the ticketing plugin’s functions.php file on line 196 and change the line that says: $image_size = getimagesize($data->event->ticket_logo_url); to $image_size = @getimagesize($data->event->ticket_logo_url); Please let us know if that makes the warning message go away. |
|
|
Hi guys, Apologies for my late reply. I still hope you guys can help. |
Hi, Can you try hard-coding the URL please. Try both $image_size = getimagesize(“http://events-vnab.nl/wp-content/uploads/2013/12/vnabweblogo21.jpg”); and also then $image_size = getimagesize(“http://www.events-vnab.nl/wp-content/uploads/2013/12/vnabweblogo21.jpg”); This is to narrow it down some more. |
|
Pasted the code here http://pastebin.com/8b5fKDsG Forum editor altered the links. |
|
|
Okay so i just tried added the line of code but when i tried to upload it with my FTP it said So i just deleted the entire folder, edited the code and re-uploaded it. What I found out that MY code, the one you guys gave me is overwritten somewhere. So either way, I’m never able to test the code you guys give me because somewhere (maybe in php) it gets overwritten. |
|
Still nothing we can do? |
What is the location of the file you uploaded? Are there any files/folders in wp-content/uploads/espresso/gateways? |
|
|
/domains/events-vnab.nl/public_html/wp-content/plugins/espresso-ticketing And ../gateways is empty. |
The first thing that stands out is
In a nut shell, the FTP server you are connected to actively refused to overwrite that file due to insufficient permissions. The work around was to replace the entire folder which works. The problem here is that your original error can be due to permissions or a server configuration stopping getimagesize() grabbing the image. (Hotlink protected based on the user agent for example) Secondly, Event Espresso has no built in way to override that function within espresso-ticketing/functions.php so if the code is being overwritten it again could be server configuration (caching maybe?) I used the URL’s for your images on a local test site and ran into no issues at all. I can create tickets with the logo using the URLs with no problems. I suspect this is a server config issue and you will need to contact your server administrator to look into it. To show you an example I added a line to echo the variable containing the URL currently in use. Then altered that variable to match your logo url. So my default ticket type http://d.pr/i/gSJS Code used to test http://d.pr/f/40PR (espresso-ticketing/functions.php) *This is not a solution as the logo will always use that hardcoded url for any ticket. Just an example to show the logo working. |
|
|
I resolved the 550 issue, I deactivated the plugin and then deleted it within wordpress. After that I dragged the entire folder to my plugins again and now I’m able to edit anything the way I want it to. new results: http://events-vnab.nl/?ticket_launch=true&id=46&r_id=17-529f469a43f48&html=true So I used your code and still no fix, So i should just contact my server administrator now? |
Although you’ve worked around the issue, the underlying cause will not have changed. You can see here for changing permissions http://codex.wordpress.org/Changing_File_Permissions If you are unsure, ask you administrator.
Yes I would, provide them with as much information as you can. Show them you have tried different url’s etc. |
|
The support post ‘Editing Ticket’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.