Ckeditor, uploading an image - php

We keep getting a 500 internal server error when using Ckeditor to upload an image from local machine. Click here to view screenshot
This is the error we have been getting: /ckeditor/filemanager/connec…hp/upload.php?Type=Image&CKEditor=content&CKEditorFuncNum=1&langCode=en-gb 500 (Internal Server Error)
We have removed the .htaccess file and we're still getting this error.
So, we copied the whole folder to another hosting package. And when we tried to run the phpinfo file, it worked absolutely fine there.
But it is not working on our VPS server and is giving 404 Page not found: https://www.diarydirectory.com/redesign/assets/ckeditor/filemanager/connectors/php/phpinfo.php
GoDaddy aren't being helpful at all.
Does anyone have any suggestions at all? Our team have exhausted all options

Related

Apache2 does not show .png images

I just started migrating my code to the google cloud. The server runs Ubuntu but does not display my images (.png).
http://example.com/icons/logo.png
When I open the console and open the link address directly I receive a 404 not found; but when I just go to `http://example.com/icons``I receive a 403 Forbidden message.
Could it be the case that some permissions for the folder/images are not set correctly? How can display my images?
For anyone who might have a similar issue - I have found this thread and changing the folder name from "icons/" to "images/" resoled the problem, the question of why this happens still remains...

500 Internal Server Error when adding module

Im have a opencart 2.3 installed with a custom theme along with a custom module that shows a product slider. The problem is that i setuped the site on my localhost and everything seem to be working perfect.
But when i uploaded it to my VPS the home page gives an internal server error when i add the module the to the home page. When i remove it, the page loads fine. This happens only on my VPS. When i uploaded it to a differnt host and my localhost everything works fine.
The main problem is that i cannot find the actual error which is causing the problem because the apache error logs doesnt log any php related errors.
so far,
i removed the htaccess
enable error reporting through htaccess
removed extra php.ini file which might be conflicting
added the error reporting code on the index.php file
checked the opencart error logs
none of these seem to work. It shows the internal server error instead of the actual error. For almost 2 weeks i have been struggling and tried almost all the methods in SO but none seems to be working in my case
Can someone let me know how can i get it show the actual error or log it instead of the internal server error?

In live site php file not working it show internal server error

While uploading the .php file in server it shows
internal server error
But it runs .html file. Its a shared hosting.
How can I solve this issue?

laravel-filemanager showing error after transfer application from local host to live hosting

I have installed TinyMCE and Laravel-file manager. Here are the referring links which I followed-
https://www.tinymce.com
https://github.com/UniSharp/laravel-filemanager
Now everything works well on my localhost. Attaching an image of successful output to localhost
success in localhost
Now After uploaded my application into the live server while I was trying to upload the image, I have faced file manager showing me an error and it doesn't work.
This is the error image I got-
Error image while uploading application on live server
Anyone, please help me find the solution and tell me what should I do now.
I found 2 errors in my files and 1 in my cpanel and i made those errors while uploading my project from localhost to live server(tzipor.com/tz). I had to made correction two path while uploading to live server(tzipor.com/tz) but i did not do that. Those occurred the problem. Here i am explaining those-
I am using tinymce and i am integrating filemanager with that. I had to make correction to my tinymce editor file. Giving you a link of image referring to my localhost file. https://ibb.co/bZdwew
the tinyeditor file, while in localhost, path_absolute : "/", is the correct code. But this should be change based on my live server url. As my live server url the code should be path_absolute : "/tz/", https://ibb.co/c3TF6b
So we need to careful here while upload project localhost to live server
in config/lfm.php this code was correct while my project was in my localhost- 'base_directory' => 'public', .https://ibb.co/jKYezw But after upload project into live server this path should need to change based on my server link. As my live server link, this should be 'base_directory' => '../tz', https://ibb.co/mVowew
3.In cpnael->select php version: make sure fileinfo have checked. https://ibb.co/gS9GUw
So we need to be careful in this three sections while upload project localhost to live server.
Thank You
You should make sure that your routes were cached with new entries:
php artisan route:cache
Also make sure you really installed the package running:
composer install
on live server.

500 internal server error wordpress with godaddy

I am getting the following type of error message on both admin and frontend of my WordPress website.
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request. Please contact the server
administrator to inform of the time the error occurred and of anything
you might have done that may have caused the error.
More information about this error may be available in the server error
log.
I already tried to rename the plugin directory, removed or renamed the .htaccess file and changed WordPress file permissions to 755. But no luck.
I have the exactly same problem on my WP site, because I reached the limit of my godaddy web hosting resources. They say I need to buy more server resources for my website to work regularly.

Categories