Before buying the plugin, I try to install the lite version to test it (I have to make a demo to my client). I'm working with localwp, when I installed Amelia Booking and try to edit settings it's say "“Request failed with status code 500”. It's also really slow and in the console I have "500 (Internal Server Error)".
Do you have any ideas ? Does Amelia work with localwp ? (lite and pro version)
Thanks !
Localwp : PHP/MySQL : 7.3.5 / 8.0.16, webserver nginx, worpdress 5.8 Twenty Twenty-One (no plugins only amelia)
I have Amelia on a local, because I use it for testing; so don't worry, it is compatible (both lite and full versions).
500 error can refer to many things; have you been in touch with your local server hosting about any maintenance, or new security policies? Do you have any security plugins installed?
No others plugins (I install a website with the default theme and then install Amelia).
I try several configs : apache and nginx, different versions of PHP/MySQL. I ask also french wordpress community and one of the moderators reproduces the bug.
I make a lot of research (try to increase memory php.ini, check pdo_mysql, ect) but don't find the answer to resolve it
Thank you for the additional information; I will forward the ticket to my senior colleague to see if he can give some input on how we can troubleshoot this.
Can you pull an error log somehow? The error should be in there somewhere.
The 500 error is a server-side error, so since you're on localhost, it's got something to do with your local installation. Check your folder permissions - is the wp-content folder writeable?
Try enabling the WP_DEBUG mode in wp-config.php and try installing again - you should see what exactly is happening when you do that. Also, try downloading the plugin again, maybe the file is corrupted.
I have nothing in "logs" folder : \logs\nginx\error.log (empty file) and \logs\php\error.log (no file) > I activate the localwp extension "Xdebug + VS Code" (but don't know what to do with that to be honnest ^ ^ I just see call tracks when I load an amelia page in the backend)
Nothing when I installed the plugin with WP DEBUG in wp-config.php : define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );
I don't think I have a permission folder problem (it's a default config ?), I tested dozen booking plugins and it's the only one that crashes
The only message I see is in the console, for-exemple when I go to the Amelia dashboad :
amelia-booking-dashboard-417828f7f9c7f33c77d3.js:1 Error: Request failed with status code 500 at e.exports (amelia-booking.js?ver=1.0.35:1) at e.exports (amelia-booking.js?ver=1.0.35:1) at XMLHttpRequest.f.<computed> (amelia-booking.js?ver=1.0.35:1)
Actually, the permissions for the localhost are "write" only. Please take a look at the video below:
This is for our other plugin - wpDataTables, but it could be the same issue. If that doesn't help, I don't know if I'll be able to help you, since you're on a localhost. Maybe if you could clone your website?
If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.
Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.
Make sure to respond in a PRIVATE response, since this is a public ticket.
I know that WordPress hosting is bad as they won't apply any custom settings of the server, etc, but I haven't heard anything about localwp so I'll share it with the team as well.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
I know this ticket is old, but we had the same issue, so i digged deeper into the system to find out what the reason might me.
Turns out, the plugin does not use / set the correct port for the database connection if a non default port is used and there is currently no way to pass this port to the plugin.
This can be found in file: Infrastructure/ContainerConfig/container.php (Lines 73 - 90)
Here's an excerpt with the port modification:
if (!extension_loaded('pdo_mysql') || $mysqliEnabled) { return new \AmeliaBooking\Infrastructure\DB\MySQLi\Connection( $config('host'), $config('database'), $config('username'), $config('password'), $config('charset'), 10012 // <<-- CUSTOM PORT );
}
return new \AmeliaBooking\Infrastructure\DB\PDO\Connection( $config('host'), $config('database'), $config('username'), $config('password'), $config('charset'), 10012 // <<-- CUSTOM PORT
);
So basically all needed for this to work, is a variable setting the DB Port used, defaulting to 3306 and the possibility to change this according to the custom port used.
Hello,
Before buying the plugin, I try to install the lite version to test it (I have to make a demo to my client). I'm working with localwp, when I installed Amelia Booking and try to edit settings it's say "“Request failed with status code 500”. It's also really slow and in the console I have "500 (Internal Server Error)".
Do you have any ideas ? Does Amelia work with localwp ? (lite and pro version)
Thanks !
Localwp : PHP/MySQL : 7.3.5 / 8.0.16, webserver nginx, worpdress 5.8 Twenty Twenty-One (no plugins only amelia)
Hi Elodie!
Thank you for reaching out to us
I have Amelia on a local, because I use it for testing; so don't worry, it is compatible (both lite and full versions).
500 error can refer to many things; have you been in touch with your local server hosting about any maintenance, or new security policies? Do you have any security plugins installed?
Hi ! I ask the localwp community and wait for an answer (https://community.localwp.com/t/install-amelia-booking-plugin-error-500/27473).
No others plugins (I install a website with the default theme and then install Amelia).
I try several configs : apache and nginx, different versions of PHP/MySQL. I ask also french wordpress community and one of the moderators reproduces the bug.
I make a lot of research (try to increase memory php.ini, check pdo_mysql, ect) but don't find the answer to resolve it
Thanks for your help !
Hi Elodie!
Thank you for the additional information; I will forward the ticket to my senior colleague to see if he can give some input on how we can troubleshoot this.
He will contact back as soon as possible
Hello Elodie
Thank you for reaching out to us.
Can you pull an error log somehow? The error should be in there somewhere.
The 500 error is a server-side error, so since you're on localhost, it's got something to do with your local installation. Check your folder permissions - is the wp-content folder writeable?
Try enabling the WP_DEBUG mode in wp-config.php and try installing again - you should see what exactly is happening when you do that. Also, try downloading the plugin again, maybe the file is corrupted.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi,
I installed a new website and the plugin for this test (I download it here https://wordpress.org/plugins/ameliabooking/ and add it manually in the folder wp-content/plugins) :
> I activate the localwp extension "Xdebug + VS Code" (but don't know what to do with that to be honnest ^ ^ I just see call tracks when I load an amelia page in the backend)
> amelia-booking.js?ver=1.0.35:1
GET http://new.local/wp-admin/admin-ajax.php?action=wpamelia_api&call=/entities&types[]=categories&types[]=employees&types[]=customers 500 (Internal Server Error)
amelia-booking-dashboard-417828f7f9c7f33c77d3.js:1
Error: Request failed with status code 500
at e.exports (amelia-booking.js?ver=1.0.35:1)
at e.exports (amelia-booking.js?ver=1.0.35:1)
at XMLHttpRequest.f.<computed> (amelia-booking.js?ver=1.0.35:1)
> amelia-booking.js?ver=1.0.35:1
GET http://new.local/wp-admin/admin-ajax.php?action=wpamelia_api&call=/users/current 500 (Internal Server Error)
amelia-booking-dashboard-417828f7f9c7f33c77d3.js:1
getCurrentUser fail
Thanks again
Hi again Elodie
Actually, the permissions for the localhost are "write" only. Please take a look at the video below:
This is for our other plugin - wpDataTables, but it could be the same issue. If that doesn't help, I don't know if I'll be able to help you, since you're on a localhost. Maybe if you could clone your website?If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.
Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.
Make sure to respond in a PRIVATE response, since this is a public ticket.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Elodie
I am not aware of localwp.com and I'm using the localhost - a simple WordPress installation on a local machine, instead of a server.
If they have support, you can reach out to them about it. Upgrading to the full version won't fix the issue, I'm afraid.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
If someone have the same problem I suggest to not use localwp, their community sucks and the tool is buggy.
Thanks for helping me, sorry for the waste of time
Thanks for the heads-up Elodie.
I know that WordPress hosting is bad as they won't apply any custom settings of the server, etc, but I haven't heard anything about localwp so I'll share it with the team as well.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I know this ticket is old, but we had the same issue, so i digged deeper into the system to find out what the reason might me.
Turns out, the plugin does not use / set the correct port for the database connection if a non default port is used and there is currently no way to pass this port to the plugin.
This can be found in file:
Infrastructure/ContainerConfig/container.php (Lines 73 - 90)
Here's an excerpt with the port modification:
So basically all needed for this to work, is a variable setting the DB Port used, defaulting to 3306 and the possibility to change this according to the custom port used.
Hope this helps.
Regards
Frank
A working solution is to add the NON STANDARD Database Port to the wordpress config.
So instead of:
You can set the port as following:
Hope this helps.
Regards
Frank
Hey Frank
Thank you very much for pointing this out to us.
I forwarded the ticket to our developers so they can take a look. I'll let you know if they have any feedback or questions.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables