joshp23 / YOURLS-IQRCodes

YOURLS QRCode plugin with exposed options and full integration
GNU General Public License v3.0
22 stars 11 forks source link

Can't upload logo file from IQR Config admin page #52

Open cjc-sheen opened 2 months ago

cjc-sheen commented 2 months ago

Technical details regarding my environment

Bug description

Logo file upload button "Choose file" does nothing when clicked.

What is the current behavior?

Nothing happens. The page does not reload. There is no file dialog popup.

What is the expected or desired behavior?

I have never seen it, but I assume that a file dialog box opens up in browser.

Reproducible bug summary steps

  1. In a browser tab, navigate to https://sh.ort.url/admin/plugins.php?page=iqrcodes
  2. On the IQRCodes Config tab in the admin options page, scroll down to section Logo Settings.
  3. In dropdown Use Logo, select Yes
  4. Click button Choose File below the title Upload Image.
  5. Wait for nothing to happen.

What I've tried

  1. Reloaded/refreshed the page a few times and tried clicking the button each time.
  2. Thought it might be a browser cache issue, so tried the same in privacy mode and different browsers - Sometimes a fresh browser or privacy mode window worked. The choose file dialog opened. But this was random and many other times, it would not show up.
  3. Enabled debugging in YOURLS config.php - not very helpful as I can't find a log file and i think the debug just prints messages on the page when it renders. Also, It only shows SQL-related messages.
  4. Check nginx access and error logs - didn't find anything other than conflicting server names, which is a whole other issue I need to get to.

Other details

  1. YOURLS running on a fresh installed VPS, with LEMP stack, composer,
  2. YOURLS files sit in a subdirectory of web directory
  3. YOURLS_site is a subdomain
  4. SSL is set up
  5. At the moment, no other web app is installed and running.