Recent content by schwim

  1. S

    Failed update due to insufficient PHP version, now server 500 error

    Absolutely fantastic. Thank you so much for your help!
  2. S

    Failed update due to insufficient PHP version, now server 500 error

    Thanks for your reply. I contacted the host and was able to upgrade PHP to 7.4. Upon pageload now, however, I get the following: Which I am assuming is where the upgrade from 3.14.1 to 3.16.1 broke during SQL update. Could someone tell me how I can finish the upgrade or roll back to 3.14.1...
  3. S

    Failed update due to insufficient PHP version, now server 500 error

    Hi there everyone! Went to run the updater found in my notices, from x.14.1 to x.16.1 but during the update, right after the unzip I got the notice that the updater could not proceed due to my PHP not being 7.2. On any page load now, I receive: Can I just find 14.1, unpack it and have it...
  4. S

    Can I use API to upload to particular album(not user)?

    Hi there, Markus, and thanks for the post! I was unfortunately unable to proceed any further due to both my lack of knowledge and the combination of ridicule and utter silence when asking for help here on the forum. I would love to follow your progress, however if you decide to make this...
  5. S

    PHP mail failing

    Hi there everyone! PHP mail fails to send "Could not instantiate mail function. " The reason I'm posting here and not trying to figure out what's wrong with the mail function is that it works for countless other scripts on the server. PHPBB, Discourse, Drupal, cPanel, ownCloud and countless...
  6. S

    Can I use API to upload to particular album(not user)?

    I'm not trying to write messy code and I'm not just trying to plug vars in. I've struggled for countless hours to understand PHP code written by someone much better at it than I am. I promise you my issues aren't because I'm lazy. I'm trying very hard to solve my own problems. I very much...
  7. S

    Can I use API to upload to particular album(not user)?

    I ran outside of the 5 min edit window but wanted to explain that I realized I needed to use the album ID # and not the name. My issue remains, however. When I upload, I get the error: And the code: foreach($items as $item) { if(exif_imagetype($item)){...
  8. S

    Can I use API to upload to particular album(not user)?

    It seems that's not the solution. I get this error when testing an image upload: Do I need to provide additional data to addImages or provide it in another format?
  9. S

    Can I use API to upload to particular album(not user)?

    I figured out what I was doing wrong. I had to rename my route file as it was hitting a protection in htaccess. If my album name is Autoupload, should my upload code look like this? foreach($items as $item) { if(exif_imagetype($item)){...
  10. S

    Can I use API to upload to particular album(not user)?

    As an update, I've tried the various things. I've got two files in override, one being hello-world and the other being autoupload. Both files have the hello-world content in them. Hello-world works while autoupload results in a 403 error. To rule out file permissions, I renamed autoupload to...
  11. S

    Can I use API to upload to particular album(not user)?

    Hi there Mr. Moo, As I tried to explain above, I haven't even inserted that code yet into the route. I simply copied the hello-world route, renamed it and am geting a 403 when trying to access it via the URL. This is what route.autoupload.php looks like: <?php /* Just an example of route...
  12. S

    Can I use API to upload to particular album(not user)?

    Hi there Rodolfo, I've been trying for the day to add a route to the override. I simply copied the hello-world file to route.autoupload.php and while https://schw.im/gallery/hello-world/?key=*** Gets me a Hello world, https://schw.im/gallery/autoupload/?key=*** Gets me a 403 forbidden...
  13. S

    Can I use API to upload to particular album(not user)?

    Hi there again, sorry for continuing to bother. My grasp of PHP is not the best and I'm struggling to figure out what exactly I need to change to upload to my Autoupload directory(id in URL is g3R). In route.json.php, I see on line 933 the function you mentioned above: $album_add =...
  14. S

    Can I use API to upload to particular album(not user)?

    I see in route.json.php, this bit: // Fix some encoded stuff if (!empty($_REQUEST['album_id'])) { $_REQUEST['album_id'] = CHV\decodeID($_REQUEST['album_id']); } Do I simply need to set this var via a modified route.api.php...
  15. S

    Can I use API to upload to particular album(not user)?

    Hi there everyone! The bulk importer is not quite robust or feature rich to manage my images uploaded from my phone so I'm hoping to write a script run via cron that will upload to a album titled "Autoupload" that's marked private. I see in the API documentation that I can override the route...
Top