Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cjc-sheen opened this issue Sep 5, 2024 · 0 comments
Open

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

cjc-sheen opened this issue Sep 5, 2024 · 0 comments

Comments

@cjc-sheen
Copy link

Technical details regarding my environment

  • YOURLS version: 1.9.3-dev

  • Plugins enabled:

    1. iqrcodes/plugin.php
    2. usrv/plugin.php
    3. admin_issue_diagnostic/plugin.php
  • YOURLS DB Ver: 506

  • PHP version: 8.1.29

  • Server OS Build: Linux

  • Server & version: nginx/1.18.0

  • Browser information: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15

  • Generated by the AID Plugin ver 1.0

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant