Hi there,
i installed my ossn website on my new Digital Ocean VPS. First time i did it, i just imported the database with all components on there, but didn't work very good.. some pictures wont show and some pages wont open css, etc, etc...
So after that, i installed the db from scratch, with the installer.. Everything went good this time, but the only thing missing is that i can´t install components... its weird because i can install the same files in my localhost, but when i try to install them in the VPS it gives me the message: Cannot upload component, make sure is a valid package.
I need help plzzz
Thank you very much
Yes, now it works, thank you very much..
seconds after changing the ini.php it didn't work, but 5 minutes later it worked.. :D
Do you able to upload component now?
Is shown updated when i open: http://app.arcoluna.cl/ossninfo
memorylimit 128M
registerglobals
postmaxsize 55M
uploadmaxfilesize 50M
default_charset UTF-8
There is 2 ini.php files.. one on this route: /etc/php/7.0/cli/php.ini
and the other on this one: /etc/php/7.0/apache2/php.ini
The second route is connected with ossninfo
I can see now that your upload size has been increased (http://app.arcoluna.cl/ossninfo) can you share how did you done it?
Your size is still not updated http://app.arcoluna.cl/ossninfo
Try to find out which php.ini file is used by running simple php code create a file on your root phpinfo.php and add following contents (so the file can be visited http://app.arcoluna.cl/phpinfo.php)
<?php
phpinfo();
OK, i did that, configured ini.php and chenge maxupload, and maxpost to 50mb
and try then install the component, but same error occurred...
Try to run
sudo service apache2 reload
sudo service apache2 restart
Also see this : https://manjaro.site/change-upload_max_filesize-php-7-0-ubuntu-16-04/
Thanks Arsalan,
i did some PHP configuration changes before by editing php.ini:
sudo nano /etc/php/7.0/cli/php.ini
allowurlfopen = On
fileuploads = On
uploadmaxfilesize = 32M
postmax_size = 38M
But idk why is not affecting OSSN..
The genio component seems of 3MB but your uploadmaxfilesize is 2MB , you'll need to increase uploadmaxsize to at least 3MB or more. My suggestion is to increase postmaxsize and the uploadmaxsize to at least 10 MB, This can be changed from your php.ini
[Edited]
Other components are exceeding 2MB also, (they are of 7MB)
Thanks Z Man for your help,
here is what you requested: http://app.arcoluna.cl/ossninfo
The components not working are particular ones, made by Liang, based on blog component. IDK why is not working with the ossn installation system while hosted on my VPS...
Basically, one is for sharing ideas of new apps to add to the platform (Collective Genius, or in spanish Genio), and the other one is for sharing real projects with the community (Projects comp).
After testing them and fix bugs, i will share them with ossn community.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)