Ninja Media Script Trouble Into Install
Is there any body who can help me into installing and live the project ninja media script. I am stuck and not able to install that to make it live.
Hey @mydigitalschool,
Can you please give a detailed description of what's going on when you try and install the script? Please list some code samples and a thorough description of the problem so that way I can help you out the best I can.
Also, please don't create a Post with the issue. This is sufficient enough.
Let me know and I'll see what I can do to help.
Thanks.
















I downloaded NINJA MEDIA SCRIPT, but i am not able to live it on server using SSH method, if you can help me or provide me installation, I bought the PRO subscription already. I really do not able to connect via PUTTY software with SSH method that's why not able to do that. Kindly help me into instillation
Hi there,
I will be happy to help you. Feel free to reach out to me.
What is the hosting provider that you are using and what is the exact error that you get when you try to SSH to your server?
On another note, you can find the documentation on how to install the Ninja Media Script here:
















I wanted to know one more thing , how can i set the SSL URL in this script.
Now i have live the script not able to post video, and images. check here https://www.spimeo.com/
I can suggest a few things here:
- Make sure that your storage permissions are correct so that your webserver could write to the storage directory
- Check if
file_get_contents
is enabled - Check if
file_put_contents
enabled - Make sure that you have created a storage symlink:
php artisan storage:link
Let me know how it goes!
Whenever trying to upload image it got failed, and says 404.
Failed to load resource: the server responded with a status of 404 ()
Mixed Content: The page at 'https://www.spimeo.com/fourth-and-last-test' was loaded over HTTPS, but requested an insecure frame 'http://www.youtube.com/embed/C0DPdy98e4c?theme=light&rel=0'. This request has been blocked; the content must be served over HTTPS.
this script accepting the videos from Youtube and viemo , what about the sefl uploaded video and the video from Instgram, or other sharing website. Kindly suggest or how can we add
Actually this problem is coming when posting via Youtube URL, seems it's api or some iframe code using nonsecure http please suggest where i can fix it
Seems many bugs in this script, Image not uploading, youtube iframe not loading https, viemo working , but what about other video platform to share.
Hi there,
The YouTube problem has a really easy fix:
- Open this file here:
public/themes/default/includes/post-item.blade.php
- Go to line 108
- Change http://www.youtube.com/ with https://www.youtube.com/
That way you will not get the mixed content error.
The other problem with the images, make sure to set your APP_URL to your exact domain name with https://
Like this:
APP_URL=https://www.spimeo.com
I've just installed a fresh copy of the script and it all worked as expected.
Let me know if it works after chaning the app url.
If not, can you share the output of your public folder?
ls -l public/
Also can you add a PHP info file so that you could make sure that the required extensions are installed and file_get_contents
and
file_put_contents
are enabled?
To create a PHP info file you can use this snippet here:
<?php
phpinfo();
?>
















I have updated APP_URL but still image not uploading, 404 you, also i do not know how to run php command on server. to create php file, let me know other pay to create via cpanel or other.
Your image is good but have some bugs which need to be updated in quick updates.
Hi there,
I think that you have not ran the php artisan storage:link
command and this is why you are note seeing the uploaded images.
This is not really a bug but just a standard part of the setup of every Laravel application.
You need to either ssh and run that command, or via cPanel open the routes/web.php
file add the following contnet after the opening PHP tag:
Route::get('/foo', function () {
Artisan::call('storage:link');
});
And then visit yourdomin.com/foo to create the storage link.
Regarding the YouTube change, you can make the change via cPanel again, just go to your file manager, then go to the public/themes/default/includes/
folder and open the post-item.blade.php
file, find line 108 and change http://www.youtube.com/ with https://www.youtube.com/
On another note, I strongly recommend watching this course on the DevDojo site in order to learn some Command line basics:
https://devdojo.com/course/linux-command-line-basics
This will help you a lot in your career!
i just tried what you suggested, but you can check on this URL image goes 404. So i wonder why the images still not uploading from both method, weather it is via URL or direct upload. Kindly help
https://www.spimeo.com/storage/posts/June2020/mobile-app-development-company-jpg-500x500.jpg