Jump to content

Error 500 on new hosting


Pat

Recommended Posts

Hello,

we are in trouble, we have transferred a site from a hosting to another, almost everything works, the shop is accesible and also the back.office, but when we try to create a new product (Catalogue > Products) the page displays error 500, here is the debug:

in ProductDataProvider.php line 59
at ProductDataProvider->getProduct('0') in ProductController.php line 389
at ProductController->formAction('0', object(Request))
at call_user_func_array(array(object(ProductController), 'formAction'), array('0', object(Request))) in bootstrap.php.cache line 3247
at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206
at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360
at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
at Kernel->handle(object(Request), '1', false) in index.php line 86

We have also set the permission on folders and files all on 777 and cleaned the cache in the back-office and also directly on the hosting.

How could we manage it

Link to comment
Share on other sites

Hi, 

"we have also set the permission on folders and files all on 777"

this is not recommended at all, 755 folders,  644 files.  Many modern hosts will 500 with permissions of 777, for good reason as they are  totally insecure.

also I don't think you posted the complete error, I see stack trace but not actual error.  But you should 1st fix your permissions.

 

Link to comment
Share on other sites

On 9/7/2018 at 1:51 PM, Pat said:

Hello,

we are in trouble, we have transferred a site from a hosting to another, almost everything works, the shop is accesible and also the back.office, but when we try to create a new product (Catalogue > Products) the page displays error 500, here is the debug:

in ProductDataProvider.php line 59
at ProductDataProvider->getProduct('0') in ProductController.php line 389
at ProductController->formAction('0', object(Request))
at call_user_func_array(array(object(ProductController), 'formAction'), array('0', object(Request))) in bootstrap.php.cache line 3247
at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206
at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360
at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
at Kernel->handle(object(Request), '1', false) in index.php line 86

We have also set the permission on folders and files all on 777 and cleaned the cache in the back-office and also directly on the hosting.

How could we manage it

 

It seems it's not the complete error details. Main error details are missing. Can you please share the complete details?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...