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

Error opening Image Form View from the frontend #192

Open
patafiole opened this issue Feb 17, 2024 · 3 comments
Open

Error opening Image Form View from the frontend #192

patafiole opened this issue Feb 17, 2024 · 3 comments
Labels
enhancement New feature or request frontend Sth that affects the frontend

Comments

@patafiole
Copy link

I have been trying to evaluate the status of JG-4 using the Github code such as it was on 2 February (ten days ago).
The display of categories seems to work fine.
But when I try open the menu link of type "Image form view" I put in the Main Menu I get the following diagnostic :
COM_JOOMGALLERY_SERVICE_ERROR_LOAD_CONFIG
500 JLIB_APPLICATION_ERROR_NOT_EXIST JLIB_APPLICATION_ERROR_NOT_EXIST

The full error stack is to be found in the appended file.
erreur_JG4.txt

@Elfangor93
Copy link
Member

@patafiole Can you please tell us your system information (joomla version, php version, db version, ...)

@patafiole
Copy link
Author

Here it is : Ubuntu 22.04 with
Joomla 4.4.2
PHP 8.1.27
MySQL 8.0.36
Apache 2 .4.58

@patafiole
Copy link
Author

There are complications.
The bug vanished from my site . However I managed to make it reappear as follows.

  1. Go to a site where Joomgallery has never been installed
  2. Install JG 4
  3. Create a menu item in your frontend menu with type link "List of categories" (just to be able to verify what you do)
  4. In the backend do components/Joomgallery/images/new to upload an image.
  5. Create a menu item in the fontend with the link type "Image Form View"
  6. Click this link, the error is there !
    To make it disappear again do the following.
  7. In the backend upload a new image with title and description.
  8. On the frontend click again the item for image upload. The bug has disappeared BUT the form displays the values of the attributes of the image you just uploaded from the backend (title and description)
  9. Disconnect and reconnect to the site. This time you get a clean form with empty fields.

To me this suggests that there could perhaps be a piece of software somewhere being used by the image form views both in the front and in the back that would be mishandling the image ids and/or the UserState.

Now that I have been able to look at the frontend image form I found problems with it, but I am going to open a new issue for that.

@Elfangor93 Elfangor93 added enhancement New feature or request frontend Sth that affects the frontend labels Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Sth that affects the frontend
Projects
None yet
Development

No branches or pull requests

2 participants