TTF file working in localhost but not on server - php

I used captcha code in my project. And my problem is when i run into the localhost it works perfectly but when i tried to upload this captcha code so i can't see the image. see in my image right now facing this problem.

Related

Non-latin image broken

I'm developing web app for my customer. He uploaded image with name 'Şahan.png'
On my test server I can see image properly.
<img src="https://example.com/Şahan.png">
But on my production environment which is hosting on azure, image looks like broken.
Print F12, check img tag. After test, in linux or windows, it all works fine on azure.
Please try to open your kudu site, and check your Şahan.png file.

issues with Unisharp laravel file manager TinyMCE integration

TinyMce works perfecly with unisharp laravel filemanager on my localhost but it has issues on server
In server I have created a folder beta and pasted entire laravel project inside it
everything works smoothly but when we click on upload image button from tinymce it shows me below image
I have tried all the possible solutions still its not working on my server
on server the url is domain-name/beta/public/index.php and when uploading it
Any Help is Appreciated !!
In your config JavaScript file change from
path_absolute : "/",
to
path_absolute : "../../",

CSS and images does't work on host

on my computer the website works fine.
when I upload the website the the server the images and css does't work.
I've tried to solve this problem myself but failed.
I had some problem. Do not upload site with file zila or total commander they can loose some files.
Upload site directly using c-panel, zip-it and upload.
If this dont work call administrator

Mobile images from iPhone not displaying

I have some photos on my iPhone I would like to upload to my website. However, when I try to upload it fails. Some of the errors I received were File name cannot be empty and File is not an image. The thing is when I download a image from the web it works just fine. What am I not understanding here? I am using PHP to upload files to the folder. The example I followed was on W3schools Thanks to all that help.

I can't use imagecopyresized

I have a problem with the GD functions. When I upload an image on localhost, everything works fine, and a thumbnail is created, but when I upload my website on hosting then imagecopyresized just fails. When I insert in a blank page, that function (whole resize function), it works just fine.
What could be the problem?
Actually, when the upload function try to upload the file then the GD functions don't work.
If your scripts work fine on a blank (free and not bound) page, then the problem surely goes to the CMS you are using. It may redirect to htaccess file you are using or even some specifications of your website.

Categories