dennisbrouwer Posted November 25, 2014 Report Posted November 25, 2014 Hello, Can somebody help me with this error I get when trying to upload a banner? My php.ini file upload is limited to 20gb and 200files at the same time. I assume there must be another .ini file holding a limit but I have no clue of the name. Any help is greatly appreciated! Dennis Quote
Erik Geurts Posted November 25, 2014 Report Posted November 25, 2014 Have you made sure the 'var' folder has write permissions? The uploaded file will go there first, and then be transferred to whatever the location of your banner images is. Quote
dennisbrouwer Posted November 25, 2014 Author Report Posted November 25, 2014 The VAR folder has 777 permissions. Are there no other .ini files that need to be updated or could be updated even if my php.ini already has 20gb? Thanks, Dennis Quote
aalsysadmin Posted December 18, 2014 Report Posted December 18, 2014 I'm having this same issue and I have verified that the var, var/tmp, var/cache folders are all set to 777. I cannot find any useful information to help me resolve this issue. I've even tried changing the Webserver Local Banner Storage Settings to various other folders to see if I could get it to write the file but I get the same useless error message no matter what. I know it worked when I first installed the site but no dice now that we are actually trying to load all of our ads to it. Quote
dennisbrouwer Posted December 19, 2014 Author Report Posted December 19, 2014 HI Aalsysadmin, What platform do you run it from? I am running it from OSX-Yosemite, mysql-5-6-21, Apache-2, PHP-5-5-14. My initial install worked and all banners could be uploaded, but now I am having this same message on 4 different Yosemite platforms. No one replied so I guess its just you and me with this issue. Quote
aalsysadmin Posted December 22, 2014 Report Posted December 22, 2014 RHEL 6, MySQL 5.6.14, Apache 2.X, PHP 5.6.X - The images directory is on a SAN device with a mapped directory to this server. I have lots of other admins that do this so I know that's not the issue. I had to modify the code to deal with the load balancing behind an HTTPS port even though my local Apache installations are all HTTP. The admin is loading just fine. I use rsync to sync up the rest of my code for the site, but the DB and images directories are shared by all the apache sites. Beyond that, it worked when first installed but like yours has wiped the ability to upload images to the local filesystem. I went back and reapplied the permissions that they specify during the installation just to be sure it wasn't that something had changed in that regard but that seems to have made zero difference. The documentation is horrific, and I really wish someone with some knowledge of the code would respond with assistance since I'm not a code person beyond very rudimentary skills. Quote
aalsysadmin Posted December 22, 2014 Report Posted December 22, 2014 I've even resorted to trying to use the FTP version of the image upload. The admin likes it and can write the 1x1.gif file to the directory but when I try to add a banner to a campaign, no dice. Quote
baskar Posted May 1, 2015 Report Posted May 1, 2015 I've the same problem on my server. All catalogs 777 but no result, no solutions (( Does anybody help me? Quote
baskar Posted May 1, 2015 Report Posted May 1, 2015 I suppose it smth with revive. I tested this simple code and it works well . But with revive I can't upload!!! <form enctype="multipart/form-data" action="form.php" method="post"> <input type="hidden" name="20000000000000000" value="30000"> Send this file: <input name="userfile" type="file"> <input type="submit" value="Send File"> </form> <?php $uploaddir = '/var/clients/revive/www/images/'; if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploaddir . $_FILES['userfile']['name'])) { print "File is valid, and was successfully uploaded."; } else { print "There some errors!"; } ?> Quote
baskar Posted May 1, 2015 Report Posted May 1, 2015 I'VE SOLVED THE PROBLEM! This prtoblem appears only if in PHP setting of your server variables max_upload_size & max_post_size are big. At least more then 1 GB. Solution You need to reduce max_upload_size (max_post_size) in settings of PHP on your server (host). For example, in your php.ini file. Quote
aalsysadmin Posted May 1, 2015 Report Posted May 1, 2015 That's not really an option for people who use php.ini for more than just this one application and need those settings to be larger than 1 GB to handle the other applications. Surely there is a setting in the programming somewhere that has this hard limit set that can be changed??? Quote
andrewatfornax Posted February 3, 2016 Report Posted February 3, 2016 That's not really an option for people who use php.ini for more than just this one application and need those settings to be larger than 1 GB to handle the other applications. Surely there is a setting in the programming somewhere that has this hard limit set that can be changed???No, there isn't! That's how PHP works.However, with a web server like Apache, you can do things like configure PHP settings on a host by host basis, so that your PHP settings differ for different applications. That's well beyond the remit of the Revive Adserver forums, however - please see the PHP / Apache documentation! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.