Closed SaturnTeamDev closed 2 months ago
Hello @SaturnTeamDev,
I haven't been able to reproduce your issue
On which browser did youo get the issue ? Can you provide a screenshot ? Can you also provide the image you tried to upload ?
Best regards, MacWarrior.
Thank you for responding. I narrowed down the source of the issue. I took a number of screenshots to guide you through the problem. I have tested this issue in Chrome, Safari, and Firefox on macOS. Here is the testing profile with the banner area:
In Firefox, I opened Dev Tools to check what is going on on the back end and I see the JavaScript uploader and can check for breaks/errors:
Here is the background banner I am trying to upload to my test user's channel:
When I click to upload the picture, it goes through the process but no image is attached. Below, I have a screenshot of the result in Safari:
I realized the problem is the uploader is trying to attach the image to the channel using a number string ID instead of the username associated with the channel:
Here is a screenshot from Firefox Dev Tools:
The button and script go through the process correctly but the image is not able to be attached.
Here is a screenshot of the approach to editing the user's banner through the admin panel:
That admin process works correctly. But it is uploading the background banner using a different link to the username ID instead of a channel number ID. As you can see in the screenshots, when the script attempts to attach the image, it is trying to attach the banner to channel 1714230033 instead of user JustTesting2 (UID 4). In other words, the uploader error is resulting from channel.php?# instead of user.php?uid=4#background.
Hi @SaturnTeamDev,
Thanks for reply and all details ; will give it a look
Best regards, MacWarrior.
Hi @SaturnTeamDev,
User doesn't exist seems relevant in this case because there is no such user/channel existing How do you get this error without manually edit of the URL ?
Upload issues have been fixed with lastest revision
Best regards, MacWarrior.
There was no manual edit of the URL. I tried uploading the banner image in multiple browsers. When I control click to open the "?" error image, that was the message. But the user exists. I can execute all normal tasks with the test user except for uploading a banner. I have the photos feature of the site turned off, because I just want it to be a video site like YouTube. But I don't think that's necessarily linked to this problem.
UPDATE: I have installed the latest code revision. The banner issue I was having has gone away. It is fixed. Thank you!
I completed install and got email working. I have set up testing accounts. When new users (including admin) click the button to upload a channel background banner, the image does not upload. There is an error symbol in some browsers but not others. The text for the error refers to the user not being found. I can go into the admin panel and manually upload a banner image for any user and that works. After that initial admin uploaded image, the user can click the button on their channel to change to a new banner. Any ideas? [J'ai terminé l'installation et le courrier électronique fonctionne. J'ai créé des comptes de test. Lorsque de nouveaux utilisateurs (y compris l'administrateur) cliquent sur le bouton pour télécharger une bannière d'arrière-plan de chaîne, l'image n'est pas téléchargée. Il y a un symbole d'erreur dans certains navigateurs mais pas dans d'autres. Le texte de l'erreur fait référence à l'utilisateur introuvable. Je peux accéder au panneau d'administration et télécharger manuellement une image de bannière pour n'importe quel utilisateur et cela fonctionne. Après cette image initiale téléchargée par l'administrateur, l'utilisateur peut cliquer sur le bouton de sa chaîne pour passer à une nouvelle bannière. Des idées?]