Support

Home Forums Translations Confirmation page error: /uploads/espresso/gateways/gateway_display.php Line 47

Confirmation page error: /uploads/espresso/gateways/gateway_display.php Line 47

Posted: September 12, 2013 at 3:15 pm


CyberInnovation.com

September 12, 2013 at 3:15 pm

Hostgator migrated the website via cpanel backup from a shared server to a VPS server and all seemed fine. New static IP with SSL and all worked fine EXCEPT credit card processing.

First found the .pem file was in /uploads/espresso/gateways/firstdata so per the settings on the gateway page we moved it to plugins/event-espresso/gateways/firstdata

We’ve deactivated the gateway a number of times, updated to the latest version today

But still get this error: https://www.evernote.com/shard/s7/sh/50b56fde-c972-4e19-b5ea-a8319f36602c/3de2b365607ccfdc12be13ba9e933a3b/deep/0/https://streetsmartsdriversed.com/?page_id=50.png

Any guidance would be appreciated… was working great on SLOW shared server, now we are fast but broken ๐Ÿ™‚


Seth Shoultes

  • Support Staff

September 12, 2013 at 5:20 pm

Have you checked to make sure the permissions on those files are not locked down? I think they should be either 644, 744, or 755. Also, your host may not allow certain folder/file permissions, so if changing the file permissions doesn’t help you may want to contact Hostgator.


CyberInnovation.com

September 12, 2013 at 7:19 pm

I’m not following, yes the folders are all at 755 and the files are at 644. We have the old site and the new site both available and we’ve looked for differences but can’t find any. It was a full cPanel backup/restore to a VPS server which we have full WHM access to.

Everything works until we go to process the credit card.

The difference is the new server has a new static IP and SSL vs. the old server. I can’t see where that would make a difference or is there somewhere i’m missing?


Seth Shoultes

  • Support Staff

September 12, 2013 at 8:22 pm

Well the errors are saying that the files are missing. That usually happens if the files are there, but the file permissions are set wrong.


CyberInnovation.com

September 13, 2013 at 7:00 am

Question: Are the gateway files suppose to be in /uploads/espresso AND plugins/event-espresso/ ???

It’s missing/can’t find /gateways/check/init.php which is missing under /uploads??

This was working on the old server but not the new?


CyberInnovation.com

September 13, 2013 at 7:13 am

I renamed the /uploads/espresso directory as I think it was a conflict and the error went away. Should I delete these or was this where we put our custom templates at one time?


CyberInnovation.com

September 13, 2013 at 7:30 am

Ok the errors are gone and credit card processing is working AFTER I removed the /uploads/espresso folder and confirmed these were the custom templates we setup for the client.

So how do I re-enable the custom templates, different folder or ??


CyberInnovation.com

September 13, 2013 at 8:45 am

This is starting to feel like therapy talking to myself ๐Ÿ™‚

So I removed gateway_display.php from the uploads/espresso/gateways directory as it was looking for the ini.php and the customer says all is working now???

How did this work on the old server?

I’m now understanding our team put the custom templates in the uploads/espresso folder but do we need the gateways folder in the uploads?

Stress and emergency with the client is over for now but I want to make sure this is correct for the future.

Thanks


Tony

  • Support Staff

September 13, 2013 at 9:17 am

Had any modifications been made to gateway_display.php?

Basically what happens is that Event Espresso checks the uploads/espresso/ for any templates/gateways and a few other files, if they aren’t found there it will default back to the original files found within event-espresso folder.

When you modify templates for whatever reason you copy the modified files there so that they are ‘update safe’ and the files are not replaced.

You technically do not ‘need’ any of the files to be in there.

What I would advise is to only save the modified files (usually templates) that you are actually using to that folder. Leave all other remaining files within Event Espresso.


CyberInnovation.com

September 16, 2013 at 6:26 am

NO there have not been any changes in the gateway_display.php and for some reason it was ok on the shared server but not the VPS.

We renamed the file, solved the problem and it’s been working for a few days now.

We will continue to monitor.


Dean

September 16, 2013 at 6:35 am

Hi,

As Tony says, if there are no modifications to the gateways, then it’s best to not have them copied over to the uploads directory, same goes for the templates in general.

Why was it working on the old server? Honestly not sure.
Having that file over their shouldn’t have caused the errors.

It seems that you have everything functioning now, so I will resolve the ticket. If something comes up just create a new forum thread, perhaps link to this one and we can work with you from there, but hopefully that won’t be needed.

The support post ‘Confirmation page error: /uploads/espresso/gateways/gateway_display.php Line 47’ 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.

Status: closed

Updated by  Dean 7 years, 5 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!