Error "Image source URL is missing" when upload image use ckeditor.How to config it
Related
i am trying to publish my project.
i had erros that have to change img to Image(next/image)
so i changed. but my hostname is not supported
i have error like this:
Error: Invalid src prop (https://lh3.googleusercontent.com/a/ALm5wu0Xpt8pkClx2LZ5Z6p3iBVyJKrtq3hNKHC7v8X6=s96-c) on `next/image`, hostname "lh3.googleusercontent.com" is not configured under images in your `next.config.js`
See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host
config. js:
module.exports = {
images: {
domains: ['localhost', 'images.unsplash.com', 'googleusercontent.com','lh3.googleusercontent.com']
},
i am trying to sign with google then get the user's profile image.
but i can't. how can l resolve this problem?? please help me out
Getting a 401 (Unauthorized) on the dashboard while trying to upload a profile picture. App URL is set properly and the feature is uncommented. the console which shows a post request to site.com/livewire/upload-file is showing unauthorized and the response is empty. screenshot
Check your tmp directory.
In php.ini, this is this line : sys_temp_dir = .....
In the code with : sys_get_temp_dir()
Verify if the directory exist
If we're talking about developer mode then it has to do with your URL. Start up the artisan server (within your project directory in your console/terminal write: "php artisan serve") and then go to http://127.0.0.1:8000/. You'll be able to upload the photo in a jiffy.
I try to download a PDF file from a server. The download is successful, but I get this error when I open the file in Adobe Reader:
When I try to download file manually from the server, it works.
Code to download the file based on CodeIgniter framework:
function downloadFile($file){
force_download('assets/img/file/'.$file, NULL);
}
What am I missing here?
function downloadFile($file){
$this->load->helper('download');
force_download('assets/img/file/'.$file, NULL);
}
If you don't load the download helper, the force_download function will not be available, thus generating a PHP error which ends up being a corrupt downloaded file
css file path is---http://example.com/css/1/styles.css.
I have checked. File is already in the directory.
But not loaded.
Before it was working fine. Suddenly ALL CSS and JS file got 404 error
css file path via ftp
404 for css file
I have a problem with the target tag of anchors. The anchor specification is:
<?php echo anchor(site_url('areaResponsable/perfil'), "Aquí", array('target' => '_self')); ?>
But, when I upload the project to the server, the links open in a new tab. And FireBug shows the next anchor:
<a class="external_link" target="_blank"
href="http://apps.manantiales.edu.ar/index.php/areaResponsable/perfil">Aquí</a>
Whats wrong, any ideas?
I checked your website http://apps.manantiales.edu.ar/index.php and did a wget for all your js files. I found that a library named gebo_common.js is setting any link with 'http' in it as an external link. Which using site_url will use http.
The file http://apps.manantiales.edu.ar/js/gebo_common.js on your server has jQuery code to set the class 'external_link' to absolute urls.
So do this:
echo anchor('areaResponsable/perfil', "Aquí")