Support > cpg1.6 upload
Error after HTML5 multi upload
Fity:
I am not sure if this is bridging related, however the problem has only occurred since bridging has been enabled.
When using the HTML5 multi uploader after the images upload I receive this error.
--- Quote ---Error
You don't have permission to access this page.
File: /public_html/photo_gallery/editpics.php - Line: 78
--- End quote ---
The images are uploaded into the album.
I disabled "Automatically go to edit after error-free upload completes" and there is no error message after the last image uploads. If I click on edit images the error message appears again. If I click elsewhere everything is good.
This is the debug info
--- Quote ---/include/init.inc.php
Notice line 198: Undefined index: log_retention
/bridge/vbulletin30.inc.php
Notice line 144: Undefined variable: session_id
--- End quote ---
Am I missing a setting somewhere for editing or user group permissions? This occurs for normal users and admin users.
Fity:
Some more testing.
When the error occurs it logs the user out (or the error occurs due to the user being logged out). Any subsequent pages work, however only as a non logged in user.
When hitting "Back" on a browser, the image upload page loads and the user is logged in and images can be uploaded or other pages navigated to as a logged in user.
ron4mac:
That sounds like a cookie setting issue.
http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_cookie_start
http://documentation.coppermine-gallery.net/en/bridging.htm#bridge_manager_path_cookie_prefix
Fity:
Thanks. I will look into the cookies settings.
I thought that the cookie settings would have ok seeing that bridging was functioning fine other then this issue.
ron4mac:
Actually the cookie setting may be okay but there is a http: https: mismatch in the gallery URL as defined in the CPG configuration. If you start the upload as a secure link but the gallery configuration URL is http:..., you'll lose the cookie on the redirect.
Navigation
[0] Message Index
[#] Next page
Go to full version