can't upload to gallery embedded in phpbb2

M.D.

Joined: 2004-06-21
Posts: 38
Posted: Thu, 2004-09-23 02:55

i get a java popup, User Can Not Add to Album error after the upload completes

i';m running the latest version of phpbb2, 2.010 and gallery v1.4.5-cvs-b89.

anyone know if this is fixed in a later version or how to fix it? thanks!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2004-09-23 12:36

Can you try using the latest version of 1.4.5 ?

As i am writing (23.09.2004; 14:35) ist 1.4.5-cvs-b202

Jens

 
M.D.

Joined: 2004-06-21
Posts: 38
Posted: Thu, 2004-09-23 16:48

i upgraded to b202, same problem. The image uploads, then i get an error. it says Upload error: user cannot add to album

here's a screenshot:
http://www.phatgrooves.org/scr.jpg

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-09-23 17:07

Can you post the Java log (you know the drill)?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-09-23 17:10

Can a moderator please move this thread to the GR forum? Thanks.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-09-23 17:13

Doing :)

 
M.D.

Joined: 2004-06-21
Posts: 38
Posted: Thu, 2004-09-23 21:59

Applet init

Applet start

Instanciating Gallery Remote...

Logger thread running

Creating log file in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\

0|TRACE|GalRem |Getting applet parameters for prefix GRDefault_

0|TRACE|PropsFile |Trying to find defaults.properties in Classpath

16|TRACE|GalRem |Got: uiLocale= |en_US|

78|TRACE|GalRem |Getting applet parameters for prefix GROverride_

78|TRACE|PropsFile |Trying to find C:\Documents and Settings\administrator\.GalleryRemote\GalleryRemoteApplet.properties in Classpath

2078|TRACE|PropsFile |Trying to find C:\Documents and Settings\administrator\.GalleryRemote\GalleryRemoteApplet.properties in Current Working Dir

2078|TRACE|GalRem |Got: toSysOut= |true|

2078|INFO |SysProps |acl.read= |+|

2078|INFO |SysProps |acl.read.default= ||

2078|INFO |SysProps |acl.write= |+|

2078|INFO |SysProps |acl.write.default= ||

2078|INFO |SysProps |apple.awt.brushMetalLook= |true|

2078|INFO |SysProps |apple.awt.showGrowBox= |false|

2078|INFO |SysProps |apple.laf.useScreenMenuBar= |true|

2078|INFO |SysProps |application.home= |C:\PROGRA~1\Java\J2RE14~2.2_0|

2078|INFO |SysProps |awt.toolkit= |sun.awt.windows.WToolkit|

2078|INFO |SysProps |browser= |sun.plugin|

2078|INFO |SysProps |browser.vendor= |Sun Microsystems, Inc.|

2078|INFO |SysProps |browser.version= |1.1|

2078|INFO |SysProps |com.apple.mrj.application.apple.menu.about.name= |Gallery Remote|

2078|INFO |SysProps |deployment.javaws.jre.0.enabled= |true|

2078|INFO |SysProps |deployment.javaws.jre.0.location= |http://java.sun.com/products/autodl/j2se|

2078|INFO |SysProps |deployment.javaws.jre.0.osarch= |x86|

2078|INFO |SysProps |deployment.javaws.jre.0.osname= |Windows|

2078|INFO |SysProps |deployment.javaws.jre.0.path= |C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe|

2078|INFO |SysProps |deployment.javaws.jre.0.platform= |1.4|

2078|INFO |SysProps |deployment.javaws.jre.0.product= |1.4.2_04|

2078|INFO |SysProps |deployment.javaws.jre.0.registered= |true|

2078|INFO |SysProps |deployment.javaws.jre.1.enabled= |true|

2078|INFO |SysProps |deployment.javaws.jre.1.location= |http://java.sun.com/products/autodl/j2se|

2078|INFO |SysProps |deployment.javaws.jre.1.osarch= |x86|

2078|INFO |SysProps |deployment.javaws.jre.1.osname= |Windows|

2078|INFO |SysProps |deployment.javaws.jre.1.path= |C:\Program Files\Java\j2re1.4.2_05\bin\javaw.exe|

2078|INFO |SysProps |deployment.javaws.jre.1.platform= |1.4|

2078|INFO |SysProps |deployment.javaws.jre.1.product= |1.4.2_05|

2078|INFO |SysProps |deployment.javaws.jre.1.registered= |true|

2078|INFO |SysProps |deployment.javaws.version= |javaws-1.4.2_05|

2078|INFO |SysProps |deployment.system.cacerts= |C:\PROGRA~1\Java\J2RE14~2.2_0\lib\security\cacerts|

2078|INFO |SysProps |deployment.system.home= |C:\WINNT\Sun\Java\Deployment|

2078|INFO |SysProps |deployment.system.jssecacerts= |C:\PROGRA~1\Java\J2RE14~2.2_0\lib\security\cacerts|

2078|INFO |SysProps |deployment.system.profile= |C:\WINNT|

2078|INFO |SysProps |deployment.system.security.policy= |file:/C:/WINNT/Sun/Java/Deployment/security/java.policy|

2078|INFO |SysProps |deployment.user.cachedir= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\cache|

2078|INFO |SysProps |deployment.user.certs= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\security\deployment.certs|

2078|INFO |SysProps |deployment.user.extdir= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\ext|

2078|INFO |SysProps |deployment.user.home= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment|

2078|INFO |SysProps |deployment.user.jssecerts= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\security\deployment.jssecerts|

2078|INFO |SysProps |deployment.user.logdir= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\log|

2078|INFO |SysProps |deployment.user.profile= |C:\Documents and Settings\administrator\Application Data|

2078|INFO |SysProps |deployment.user.security.policy= |file:/C:/Documents%20and%20Settings/administrator/Application%20Data/Sun/Java/Deployment/security/java.policy|

2078|INFO |SysProps |deployment.user.tmpdir= |C:\Documents and Settings\administrator\Application Data\Sun\Java\Deployment\cache\tmp|

2078|INFO |SysProps |file.encoding= |Cp1252|

2078|INFO |SysProps |file.encoding.pkg= |sun.io|

2078|INFO |SysProps |file.separator= |\|

2078|INFO |SysProps |file.separator.applet= |true|

2078|INFO |SysProps |http.agent= |Mozilla/4.0 (Windows 2000 5.0)|

2078|INFO |SysProps |http.auth.serializeRequests= |true|

2078|INFO |SysProps |https.protocols= |SSLv3,SSLv2Hello|

2078|INFO |SysProps |java.awt.graphicsenv= |sun.awt.Win32GraphicsEnvironment|

2078|INFO |SysProps |java.awt.printerjob= |sun.awt.windows.WPrinterJob|

2078|INFO |SysProps |java.class.path= |C:\PROGRA~1\Java\J2RE14~2.2_0\classes|

2078|INFO |SysProps |java.class.version= |48.0|

2078|INFO |SysProps |java.class.version.applet= |true|

2078|INFO |SysProps |java.endorsed.dirs= |C:\PROGRA~1\Java\J2RE14~2.2_0\lib\endorsed|

2078|INFO |SysProps |java.ext.dirs= |C:\PROGRA~1\Java\J2RE14~2.2_0\lib\ext|

2078|INFO |SysProps |java.home= |C:\PROGRA~1\Java\J2RE14~2.2_0|

2078|INFO |SysProps |java.io.tmpdir= |C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\|

2078|INFO |SysProps |java.library.path= |C:\Program Files\Internet Explorer;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\Internet Explorer;;C:\Program Files\Real\RealProducer Basic 10;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Helix Producer Plus;%ANT_HOME\bin;c:\j2sdk1.4.2_04\bin|

2078|INFO |SysProps |java.protocol.handler.pkgs= |sun.plugin.net.protocol|sun.plugin.net.protocol|

2078|INFO |SysProps |java.runtime.name= |Java(TM) 2 Runtime Environment, Standard Edition|

2078|INFO |SysProps |java.runtime.version= |1.4.2_05-b04|

2078|INFO |SysProps |java.specification.name= |Java Platform API Specification|

2078|INFO |SysProps |java.specification.vendor= |Sun Microsystems Inc.|

2078|INFO |SysProps |java.specification.version= |1.4|

2078|INFO |SysProps |java.util.prefs.PreferencesFactory= |java.util.prefs.WindowsPreferencesFactory|

2078|INFO |SysProps |java.vendor= |Sun Microsystems Inc.|

2078|INFO |SysProps |java.vendor.applet= |true|

2078|INFO |SysProps |java.vendor.url= |http://java.sun.com/|

2078|INFO |SysProps |java.vendor.url.applet= |true|

2078|INFO |SysProps |java.vendor.url.bug= |http://java.sun.com/cgi-bin/bugreport.cgi|

2078|INFO |SysProps |java.version= |1.4.2_05|

2078|INFO |SysProps |java.version.applet= |true|

2078|INFO |SysProps |java.vm.info= |mixed mode|

2078|INFO |SysProps |java.vm.name= |Java HotSpot(TM) Client VM|

2078|INFO |SysProps |java.vm.specification.name= |Java Virtual Machine Specification|

2078|INFO |SysProps |java.vm.specification.vendor= |Sun Microsystems Inc.|

2078|INFO |SysProps |java.vm.specification.version= |1.0|

2078|INFO |SysProps |java.vm.vendor= |Sun Microsystems Inc.|

2078|INFO |SysProps |java.vm.version= |1.4.2_05-b04|

2078|INFO |SysProps |javaplugin.maxHeapSize= |96m|

2078|INFO |SysProps |javaplugin.nodotversion= |142_05|

2078|INFO |SysProps |javaplugin.proxy.config.type= |direct|

2078|INFO |SysProps |javaplugin.version= |1.4.2_05|

2078|INFO |SysProps |javaplugin.vm.options= |-Djava.class.path=C:\PROGRA~1\Java\J2RE14~2.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\J2RE14~2.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_05 -Djavaplugin.nodotversion=142_05 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\J2RE14~2.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol |

2078|INFO |SysProps |line.separator= |

|

2078|INFO |SysProps |line.separator.applet= |true|

2078|INFO |SysProps |os.arch= |x86|

2078|INFO |SysProps |os.arch.applet= |true|

2078|INFO |SysProps |os.name= |Windows 2000|

2078|INFO |SysProps |os.name.applet= |true|

2078|INFO |SysProps |os.version= |5.0|

2078|INFO |SysProps |os.version.applet= |true|

2078|INFO |SysProps |package.restrict.access.netscape= |false|

2078|INFO |SysProps |package.restrict.access.sun= |true|

2078|INFO |SysProps |package.restrict.definition.java= |true|

2078|INFO |SysProps |package.restrict.definition.netscape= |true|

2078|INFO |SysProps |package.restrict.definition.sun= |true|

2078|INFO |SysProps |path.separator= |;|

2078|INFO |SysProps |path.separator.applet= |true|

2078|INFO |SysProps |sun.arch.data.model= |32|

2078|INFO |SysProps |sun.boot.class.path= |C:\PROGRA~1\Java\J2RE14~2.2_0\lib\rt.jar;C:\PROGRA~1\Java\J2RE14~2.2_0\lib\i18n.jar;C:\PROGRA~1\Java\J2RE14~2.2_0\lib\sunrsasign.jar;C:\PROGRA~1\Java\J2RE14~2.2_0\lib\jsse.jar;C:\PROGRA~1\Java\J2RE14~2.2_0\lib\jce.jar;C:\PROGRA~1\Java\J2RE14~2.2_0\lib\charsets.jar;C:\PROGRA~1\Java\J2RE14~2.2_0\classes;C:\PROGRA~1\Java\J2RE14~2.2_0\lib\plugin.jar|

2078|INFO |SysProps |sun.boot.library.path= |C:\PROGRA~1\Java\J2RE14~2.2_0\bin|

2078|INFO |SysProps |sun.cpu.endian= |little|

2078|INFO |SysProps |sun.cpu.isalist= |pentium i486 i386|

2078|INFO |SysProps |sun.io.unicode.encoding= |UnicodeLittle|

2078|INFO |SysProps |sun.java2d.fontpath= ||

2078|INFO |SysProps |sun.net.client.defaultConnectTimeout= |120000|

2078|INFO |SysProps |sun.os.patch.level= |Service Pack 4|

2078|INFO |SysProps |swing.noxp= |true|

2078|INFO |SysProps |trustProxy= |true|

2078|INFO |SysProps |user.country= |US|

2078|INFO |SysProps |user.dir= |C:\Documents and Settings\administrator\Desktop|

2078|INFO |SysProps |user.home= |C:\Documents and Settings\administrator|

2078|INFO |SysProps |user.language= |en|

2078|INFO |SysProps |user.name= |Administrator|

2078|INFO |SysProps |user.timezone= |America/New_York|

2078|INFO |SysProps |user.variant= ||

2078|TRACE|UsrProps |aboutText= |Gallery Remote

A part of the Gallery Open-Source Project
http://gallery.sourceforge.net

Maintained by:

Pierre-Luc Paour

Initial version by Chris Smith

Contributors:

Tim Miller
Dolan Halbrook
Markus Cozowicz
Scott Gartner
Amedeo Paglione
Chris Schwerdt
Seth Ladd

Artwork by Ross A. Reyman

Bundled software:

ImageMagick
Java look and feel Graphics Repository icons
jpegtran, Guido Vollbeding's version
MetadataExtractor|

2078|TRACE|UsrProps |albumPictureDividerLocation= |180|

2078|TRACE|UsrProps |appletDividerLocation= |227|

2078|TRACE|UsrProps |appletShowResize= |true|

2078|TRACE|UsrProps |captionStripExtension= |false|

2078|TRACE|UsrProps |exifAutorotate= |true|

2078|TRACE|UsrProps |filedialogPath= |D:\backup\albums\04-19-2003-The-Lions-Den-New-York,-NY|

2078|TRACE|UsrProps |htmlEscapeCaptions= |false|

2078|TRACE|UsrProps |inspectorDividerLocation= |450|

2078|TRACE|UsrProps |loadLastMRU= |false|

2078|TRACE|UsrProps |logLevel= |3|

2078|TRACE|UsrProps |mainBounds= |0,0,700,650|

2078|TRACE|UsrProps |mruCount= |4|

2078|TRACE|UsrProps |previewBounds= |700,0,500,650|

2078|TRACE|UsrProps |previewCacheSize= |10|

2078|TRACE|UsrProps |proxyHost= |proxy.host.com|

2078|TRACE|UsrProps |proxyPassword= ||

2078|TRACE|UsrProps |proxyPort= |80|

2078|TRACE|UsrProps |proxyUsername= ||

2078|TRACE|UsrProps |releaseDate= |2004/09/22|

2078|TRACE|UsrProps |resizeBeforeUpload= |false|

2078|TRACE|UsrProps |resizeTo= |0,0|

2078|TRACE|UsrProps |resizeTo1= |0|

2078|TRACE|UsrProps |resizeToDefault= |600,600|

2078|TRACE|UsrProps |resizeToDefault1= |600|

2078|TRACE|UsrProps |savePasswords= |true|

2078|TRACE|UsrProps |setCaptionsNone= |false|

2078|TRACE|UsrProps |setCaptionsWithFilenames= |true|

2078|TRACE|UsrProps |setCaptionsWithMetadataComment= |false|

2078|TRACE|UsrProps |showPath= |true|

2078|TRACE|UsrProps |showPreview= |true|

2078|TRACE|UsrProps |showThumbnails= |true|

2078|TRACE|UsrProps |slideshowCaptionLocation= |30|

2078|TRACE|UsrProps |slideshowDelay= |7|

2078|TRACE|UsrProps |slideshowExtraLocation= |24|

2078|TRACE|UsrProps |slideshowLowRez= |true|

2078|TRACE|UsrProps |slideshowMaxPictures= |0|

2078|TRACE|UsrProps |slideshowNoStretch= |false|

2078|TRACE|UsrProps |slideshowPreloadAll= |false|

2078|TRACE|UsrProps |slideshowProgressLocation= |12|

2078|TRACE|UsrProps |slideshowRandom= |false|

2078|TRACE|UsrProps |slideshowRecursive= |false|

2078|TRACE|UsrProps |slideshowUrlLocation= |0|

2078|TRACE|UsrProps |suppressWarningCorrupted= |false|

2078|TRACE|UsrProps |suppressWarningIM= |true|

2078|TRACE|UsrProps |suppressWarningJava= |true|

2078|TRACE|UsrProps |suppressWarningJpegtran= |false|

2078|TRACE|UsrProps |thumbnailSize= |64,64|

2078|TRACE|UsrProps |toSysOut= |true|

2078|TRACE|UsrProps |uiLocale= |en_US|

2078|TRACE|UsrProps |uiLocaleDev= |false|

2078|TRACE|UsrProps |updateCheck= |true|

2078|TRACE|UsrProps |updateCheckBeta= |true|

2078|TRACE|UsrProps |updateUrl= |http://gallery.sourceforge.net/gallery_remote_version_check.php|

2078|TRACE|UsrProps |updateUrlBeta= |http://gallery.sourceforge.net/gallery_remote_version_check_beta.php|

2078|TRACE|UsrProps |useJavaResize= |true|

2078|TRACE|UsrProps |useProxy= |false|

2078|TRACE|UsrProps |version= |1.4.2-b5|

2407|INFO |GRI18n |en_US

2953|INFO |GRApplet |Applet parameters:

2953|INFO |GRApplet |gr_url: http://www.pgroove.com/gallery

2953|INFO |GRApplet |gr_url_full: modules.php?op=modload&name=gallery&file=index&include=gallery_remote2.php

2953|INFO |GRApplet |gr_cookie_name: phpbb2mysql_sid

2953|INFO |GRApplet |gr_cookie_domain:

2953|INFO |GRApplet |gr_cookie_path: /

2953|INFO |GRApplet |gr_album: Upload

2953|TRACE|GRApplet |urlFull is not a valid URL: recomposing it from documentBase

2953|TRACE|GRApplet |Full URL: http://pgroove.com/t_i_p/modules.php?op=modload&name=gallery&file=index&include=gallery_remote2.php

2969|TRACE|GRApplet |Adding cookie: phpbb2mysql_sid=471fd556223271c395f5e379a75f5b19; path=/; domain=.www.pgroove.com

3469|INFO |ImageUtils|tmpDir: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\thumbs

3485|TRACE|PropsFile |Trying to find im.properties in Classpath

3485|INFO |ImageUtils|useIM: true

3485|INFO |ImageUtils|imPath: convert

3485|INFO |ImageUtils|imIgnoreErrorCode: true

3485|CRITI|ImageUtils|ImageMagick path is not fully qualified, presence won't be tested until later

3485|TRACE|PropsFile |Trying to find jpegtran.properties in Classpath

3485|INFO |ImageUtils|useJpegtran: false

18688|TRACE|Album |addPictures: [D:\backup\pghf.jpg]

18688|TRACE|Album |addPictures (expanded): [D:\backup\pghf.jpg]

18797|ERROR|ImageUtils|Exif library is not installed.

22078|TRACE|UploadProg|OsShutdown not supported, hiding checkbox

22157|INFO |GalComm2 |Logging in to http://pgroove.com/t_i_p/modules.php?op=...

22157|TRACE|GalComm2 |login parameters: [HTTPClient.NVPair[name=cmd,value=login], HTTPClient.NVPair[name=protocol_version,value=2.3], null, null]

22157|TRACE|GalComm2 |Connecting to: /t_i_p/modules.php?op=modload&name=gallery&file=index&include=gallery_remote2.php

22594|TRACE|GalComm |Accepting cookie: phpbb2mysql_data=a%3A0%3A%7B%7D; expires=Fri Sep 23 17:57:52 EDT 2005; path=/; domain=.pgroove.com

22594|TRACE|GalComm |Accepting cookie: phpbb2mysql_sid=a6ada9a285b937efecf7756ef5ec0f02; path=/; domain=.pgroove.com

22594|TRACE|GalComm |Accepting cookie: PHPSESSID=87e21cc4712c260de7755099253f769b; path=/; domain=.pgroove.com

22594|TRACE|GalComm2 |#__GR2PROTO__
debug_album=
debug_gallery_version=1.4.5-cvs-b202
debug_user=Anonymous
debug_user_type=phpbb_user
debug_user_already_logged_in=
server_version=2.15
status=202
status_text=Login parameters not found.

22594|INFO |GalComm2 |Logged in

22594|TRACE|GalComm2 |Server minor version: 15

22610|INFO |GalComm2 |Preparing to upload...

22610|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=Upload], HTTPClient.NVPair[name=caption,value=pghf.jpg], HTTPClient.NVPair[name=force_filename,value=pghf.jpg], null]

22641|TRACE|GalComm2 |Connecting to: /t_i_p/modules.php?op=modload&name=gallery&file=index&include=gallery_remote2.php

22641|TRACE|GalComm |Sending cookie: PHPSESSID=87e21cc4712c260de7755099253f769b; path=/; domain=.pgroove.com

22641|TRACE|GalComm |Sending cookie: phpbb2mysql_sid=a6ada9a285b937efecf7756ef5ec0f02; path=/; domain=.pgroove.com

22641|TRACE|GalComm |Sending cookie: phpbb2mysql_data=a%3A0%3A%7B%7D; expires=Fri Sep 23 17:57:52 EDT 2005; path=/; domain=.pgroove.com

25391|TRACE|GalComm2 |#__GR2PROTO__
debug_album=Upload
debug_gallery_version=1.4.5-cvs-b202
debug_user=Anonymous
debug_user_type=phpbb_user
debug_user_already_logged_in=
status=401
status_text=User cannot add to album.

25391|INFO |GalComm2 |Upload error: User cannot add to album.

 
M.D.

Joined: 2004-06-21
Posts: 38
Posted: Thu, 2004-09-23 22:00

wasn't sure if you wanted the whole thing or not.... so i posted everything, better safe than sorry.

thanks for the help.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-09-24 07:47

This is the same thing we've covered time and again. You need to use www.pgroove.com; cookies will not work otherwise.

 
M.D.

Joined: 2004-06-21
Posts: 38
Posted: Fri, 2004-09-24 19:53

that fixed it. in previous versions that was not fixing it and I forgot to try that once I upgraded to b202. My appologies, it must have been fixed sometime between b89 and b202. I guess I just have to fix how people link up to the site so that the www is included, thanks again for all your help.

 
ophidite

Joined: 2004-03-26
Posts: 26
Posted: Fri, 2004-11-05 10:34

Hello

Can someone tell can i change the domain in www.ophidite.com , because i have the same error in the java console

11980|TRACE|GalComm |Sending cookie: PHPSESSID=d4e856d4b03b4e0f434674123d03af77; path=/; domain=.ophidite.com
15639|TRACE|GalComm |Accepting cookie: PHPSESSID=d4e856d4b03b4e0f434674123d03af77; path=/; domain=.ophidite.com

tanks in advance