[SOLVED] Add Item From Browser not working but other methods work fine (Matrix Theme)
fluginator
Joined: 2013-02-27
Posts: 4 |
![]() |
I use the Matrix Theme for my whole website and until 1 week ago was able to use the "Add items" "From web browser" option in Gallery2 with no problem. I updated my server and updated my gallery version from 2.2 to 2.3 and that's when it seems to have stopped working. What happens is, once I click "Add Items" the Progress bar shows up and does not move. The page sites there indefinitely. I have performed some investigating and I can add items by any other means such as from local server and the applet. I performed a test where I created an album that used another theme (slider). I can add Items From Web Browser successfully in other themes even ... just not my default Matrix theme If your wondering if it is a php issue: Gallery URL = http://www.jaredsphotos.info/main.php |
|
fluginator
Joined: 2013-02-27
Posts: 4 |
![]() |
Please note also that there are no error message that show up in my browser. I had put the gallery in debug mode also and no errors. I checked my php error log and my general server error log and nothing |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Sounds like when you upgraded not all files were overwritten/updated -s |
|
fluginator
Joined: 2013-02-27
Posts: 4 |
![]() |
I'm afraid that does not seem to be the case |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
I can add Items From Web Browser successfully in other themes even ... just not my default Matrix theme All themes share the same core templates for itemAddFromBrowser gallery2/modules/core/templates/ItemAddFromBrowser.tpl All I can do is guess without actually testing your site. -s |
|
fluginator
Joined: 2013-02-27
Posts: 4 |
![]() |
Thanks so much for pointing me in the right direction. I activated the developer tools and noticed that the page was hanging on a script. I had forgotten I had added a fotomoto script a short time ago in my local theme.tpl file. Anyway I reverted back to the default theme.tpl gallery file for the Matrix theme and Add Items from web browser works fine. I re-added all my customizations to the theme.tpl file (except for the fotomoto script) and the add items is still working I added the fotomoto script to the very end of the them.tpl file (just before the /body tag). After clearing my template cache to make sure I was using my "new" customized theme.tpl file, I successfully added some photos using the "Add Items" "From Web Browser". So I must have placed the script in the wrong location before causing it to hang when adding photos. |
|