OK, upon further testing i can not use gallery remote or the java uploader. both seem to think that i do not have g2 installed. Now my g2 is in / for my webserver, not /gallery2 could there be a hard coding somewhere looking for /gallery2?
rstocks
Joined: 2002-12-18
Posts: 26
Posted: Tue, 2005-04-05 04:19
Arehm,
Not that this is going to be much help you, as I don't really have any troubleshooting suggestions, but I'm running G2 in the server root, and all the upload methods, including the XP uploader, work fine.
I'd be checking things like the PHP upload path (make sure it exists and is writable by the server).
I did import from a local folder upgrading from g1 to g2. PHP upload path is /tmp, that should work right? If a developer needs to get on my box, i'll give them access. I really want his to work :P
aaron
rstocks
Joined: 2002-12-18
Posts: 26
Posted: Wed, 2005-04-06 01:24
Rather than doing a G1 to G2 import, try to add files using the "Local server" option. First of all, you'll need to define a valid path to "upload" from (Site admin -> General -> Local server upload paths). Stick some images there.
Now, go to an album, and select "Add items". Click on the "From local server" tab. Select your photos, and let the "upload" complete.
If this fails, then we know to start looking at something to do with your upload config in general, rather than specifically at the XP uploader.
arehm
Joined: 2002-11-14
Posts: 16
Posted: Wed, 2005-04-06 01:28
That is what i did, i should have clarified that. I tried to do the g1-> g2 import and it didn't work, i had path troubles. I had path troubles with the regular one as well, took a while to find a path that worked.
rstocks
Joined: 2002-12-18
Posts: 26
Posted: Wed, 2005-04-06 03:42
If you want, give me admin access to your G2 setup and I'll take a look. PM the details over.
arehm
Joined: 2002-11-14
Posts: 16
Posted: Wed, 2005-04-06 11:04
check your pm
rstocks
Joined: 2002-12-18
Posts: 26
Posted: Wed, 2005-04-06 11:57
Interesting.
I could use the good ol' upload form with no issues, but the XP side failed. Well, as you said, reports success but doesn't actually work.
Can you jump onto the server and see if the image has been dumped anywhere? I'm hoping it's in the right directory (the Gallery Administrator user album, should be under g2data/albums somewhere). That would indicate that the upload is successul, and it's the adding to the database part that is failing.
Cheers,
Rich
arehm
Joined: 2002-11-14
Posts: 16
Posted: Wed, 2005-04-06 12:41
ok, a test image was uploaded with the xp uploader and it IS in the proper spot, but it does not show up within gallery.
arehm
Joined: 2002-11-14
Posts: 16
Posted: Wed, 2005-04-06 12:50
Eeeeks, i upgraded my gallery, everything went fine, but now it's giving me an error:
Fatal error: Call to undefined function: style() in /home/virtual/site270/fst/var/www/html/g2data/smarty/templates_c/%%2216307312/%%D8^D8F^D8F38485%%global.tpl.php on line 19
arehm
Joined: 2002-11-14
Posts: 16
Posted: Wed, 2005-04-06 12:54
OK, a quick search and found i needed to flush templates. Did that and now the pictures are there, even the one that was not there before, going to test further now. It will be 0930 CDT before i can give another report, time to drop the kids off at school and go to the gym
arehm
Joined: 2002-11-14
Posts: 16
Posted: Wed, 2005-04-06 13:01
initial results look loke it works!!!!!!!!! more later
rstocks
Joined: 2002-12-18
Posts: 26
Posted: Wed, 2005-04-06 21:59
I just tried an upload to your gallery again, and it worked fine. Looks like it's fixed!
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2005-04-17 21:55
I've had this on my to-do list for a while. pospues, do you want me to clean this up and get it committed into the regular G2 codebase? Or would you want to do the cleanup yourself? Or do you want to keep it as a separate module? I'd like to have this as an official module if possible...
pospues
Joined: 2004-12-28
Posts: 31
Posted: Sun, 2005-04-17 22:16
I have the clean-up done but haven't had time to do phpunit. Let me upload the latest code and if you can do the phpunit then it should be good to go. It would be great to get it committed into the code base.
Latest code attached to this message.
azote
Joined: 2004-04-04
Posts: 3
Posted: Sun, 2005-05-01 22:58
pospues wrote:
I have the clean-up done but haven't had time to do phpunit. Let me upload the latest code and if you can do the phpunit then it should be good to go. It would be great to get it committed into the code base.
Latest code attached to this message.
thanks pospues!... works great!no problems here!
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2005-05-04 16:50
pospues, I refactored the code a little bit to make it use our normal design patterns for input handling, wrote some unit tests for it, cleaned up the code style and submitted it. Thanks for your hard work!
frederik.kunz
Joined: 2005-03-21
Posts: 37
Posted: Thu, 2005-05-05 17:44
I found two little issues with this module:
1) The Favicon is not correctly referred to, it sais
"icon"="/favicon.ico"
but is should be
"icon"="http://www.mypage.com/favicon.ico"
2) If a localization uses a special character (like a german Umlaut: ü) in a string which is used for the parameters displayname or description in the reg-file, then Windows XP is causing trouble and shows garbage there. Probably the script should convert the reg-file from utf-8 to ISO-8859-1 or something.
dweidman
Joined: 2005-05-03
Posts: 1
Posted: Fri, 2005-05-06 23:39
Does anyone know how the XP Publisher handles the "adjust picture size" - or if it is possible to change the values to choose from? It currently says:
Do you want to resize these pictures?
o Small (fits in a 640 by 480 window)
o Medium (fits in a 800 by 600 window)
o Large (fits in a 1024 by 768 window)
Thanks in advance -
-Daniel Weidman
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-05-10 07:24
frederik.kunz wrote:
I found two little issues with this module:
1) The Favicon is not correctly referred to, it sais
"icon"="/favicon.ico"
but is should be
"icon"="http://www.mypage.com/favicon.ico"
I've fixed this for now so that it's set to: http://www.mypage.com/gallery2/favicon.ico -- we should put a favicon.ico in with gallery2 and use that, instead of relying on your site's favicon.ico. Is that satisfactory? It's harder to actually provide the base favicon.ico of the site itself.
frederik.kunz wrote:
2) If a localization uses a special character (like a german Umlaut: ü) in a string which is used for the parameters displayname or description in the reg-file, then Windows XP is causing trouble and shows garbage there. Probably the script should convert the reg-file from utf-8 to ISO-8859-1 or something.
Yup, this is a bug. Please file it! However, what character set should we convert it to? Converting to ISO-8859-1 will work for the umlaut, but it wouldn't work for, say, a Kanji character. We'd have to convert to the primary character set of whatever the windows box is running, and we have no idea what that is. I'm not sure how to fix this.
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-05-10 07:24
dweidman wrote:
Does anyone know how the XP Publisher handles the "adjust picture size" - or if it is possible to change the values to choose from? It currently says:
No idea. It's a Windows-internal thing as far as I can tell. Perhaps they have some APIs on their website for this...
jassyjas
Joined: 2004-10-13
Posts: 34
Posted: Wed, 2005-05-11 13:56
I have the module installed and activated successfully. How to I update my registry so my album appears? I had this working in G1. Have tried to point my browser to /modules/publishxp/DownloadReg and /modules/publishxp/itemaddpublishXP but after that I'm stuck.
Thanks - novice trying very hard to figure this out by myself but this has beaten me.
jassyjas
Joined: 2004-10-13
Posts: 34
Posted: Thu, 2005-05-12 08:42
Found it ! Posting here for next person as it's taken me ages to find this.
Log into your gallery - go to an album - click add item - choose windows tap and you can download the registry file from there.
Arjen
Joined: 2003-06-09
Posts: 47
Posted: Thu, 2005-05-12 21:20
I really like the web publishing functionality in Windows XP a lot! However, I do not have Windows XP... I have Windows 2000 instead and I must say I am pretty happy about it (apart from the missing web publishing functionality).
I have seen that there is a web publishing wizard for windows 95+ and windows NT4.0+ for Internet Explorer 4.0+. This software can be downloaded for free at http://support.microsoft.com/?kbid=256930
Using this software, files should be published using 'send to' --> 'web publishing wizard'. I have played around a little bit, but I cannot get it working. At least the windows XP registry file is not working, as this web publishing wizward stores the data somewhere else. I have also tried to enter the URL supplied in the .reg file manually, but I have not yet succeeded.
Has anybody tried this before? Or does anybody know more about this? Is it possible at all using Gallery's XP publisher? If there is some hope to get it working, I am planning to try it harder...
Nahoo
Joined: 2005-08-22
Posts: 6
Posted: Fri, 2006-01-27 00:25
I have downloaded the publishxp.zip to find that it doesn't work the latest version of G2. Is there an updated version about?
Quote:
Implementation for direct publishing from XP
Incompatible module!
Core API Required: 5.0 (available: 6.8)
Module API Required: 0.10 (available: 2.0)
Thanks!
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-01-27 00:40
just get the latest nightly snapshot of g2. publishxp is included.
mdhillison
Joined: 2006-02-05
Posts: 12
Posted: Wed, 2006-02-08 17:32
I'm using gallery2 and I got this on my site admin page on maintenance - any ideas what I'm doing wrong?
Implementation for direct publishing from XP
Incompatible module!
Core API Required: 5.0 (available: 6.8)
Module API Required: 0.10 (available: 2.0)
thanks!
[EDIT - working fine, just had to go to the modules page through gallery and download that one]
OldVolks
Joined: 2003-10-14
Posts: 22
Posted: Sun, 2007-09-09 05:09
Any chance someone can point me to where I can read on how to use XP Publisher for others types of content or images to another website that isnt ran by any gallery type software. I just want to be able to allow my users to download the little file that installs it into the wizard, ask for login and pass, logs them in and uploads into their directory... Thanks for any help.
Posts: 16
OK, upon further testing i can not use gallery remote or the java uploader. both seem to think that i do not have g2 installed. Now my g2 is in / for my webserver, not /gallery2 could there be a hard coding somewhere looking for /gallery2?
Posts: 26
Arehm,
Not that this is going to be much help you, as I don't really have any troubleshooting suggestions, but I'm running G2 in the server root, and all the upload methods, including the XP uploader, work fine.
I'd be checking things like the PHP upload path (make sure it exists and is writable by the server).
Have you tried doing a local import?
Posts: 16
Here's a link to my phpinfo.
http://test.therehmsonline.net/phpinfoo.php
I did import from a local folder upgrading from g1 to g2. PHP upload path is /tmp, that should work right? If a developer needs to get on my box, i'll give them access. I really want his to work :P
aaron
Posts: 26
Rather than doing a G1 to G2 import, try to add files using the "Local server" option. First of all, you'll need to define a valid path to "upload" from (Site admin -> General -> Local server upload paths). Stick some images there.
Now, go to an album, and select "Add items". Click on the "From local server" tab. Select your photos, and let the "upload" complete.
If this fails, then we know to start looking at something to do with your upload config in general, rather than specifically at the XP uploader.
Posts: 16
That is what i did, i should have clarified that. I tried to do the g1-> g2 import and it didn't work, i had path troubles. I had path troubles with the regular one as well, took a while to find a path that worked.
Posts: 26
If you want, give me admin access to your G2 setup and I'll take a look. PM the details over.
Posts: 16
check your pm
Posts: 26
Interesting.
I could use the good ol' upload form with no issues, but the XP side failed. Well, as you said, reports success but doesn't actually work.
Can you jump onto the server and see if the image has been dumped anywhere? I'm hoping it's in the right directory (the Gallery Administrator user album, should be under g2data/albums somewhere). That would indicate that the upload is successul, and it's the adding to the database part that is failing.
Cheers,
Rich
Posts: 16
ok, a test image was uploaded with the xp uploader and it IS in the proper spot, but it does not show up within gallery.
Posts: 16
Eeeeks, i upgraded my gallery, everything went fine, but now it's giving me an error:
Fatal error: Call to undefined function: style() in /home/virtual/site270/fst/var/www/html/g2data/smarty/templates_c/%%2216307312/%%D8^D8F^D8F38485%%global.tpl.php on line 19
Posts: 16
OK, a quick search and found i needed to flush templates. Did that and now the pictures are there, even the one that was not there before, going to test further now. It will be 0930 CDT before i can give another report, time to drop the kids off at school and go to the gym
Posts: 16
initial results look loke it works!!!!!!!!! more later
Posts: 26
I just tried an upload to your gallery again, and it worked fine. Looks like it's fixed!
Posts: 7994
I've had this on my to-do list for a while. pospues, do you want me to clean this up and get it committed into the regular G2 codebase? Or would you want to do the cleanup yourself? Or do you want to keep it as a separate module? I'd like to have this as an official module if possible...
Posts: 31
I have the clean-up done but haven't had time to do phpunit. Let me upload the latest code and if you can do the phpunit then it should be good to go. It would be great to get it committed into the code base.
Latest code attached to this message.
Posts: 3
thanks pospues!... works great!no problems here!
Posts: 7994
pospues, I refactored the code a little bit to make it use our normal design patterns for input handling, wrote some unit tests for it, cleaned up the code style and submitted it. Thanks for your hard work!
Posts: 37
I found two little issues with this module:
1) The Favicon is not correctly referred to, it sais
"icon"="/favicon.ico"
but is should be
"icon"="http://www.mypage.com/favicon.ico"
2) If a localization uses a special character (like a german Umlaut: ü) in a string which is used for the parameters displayname or description in the reg-file, then Windows XP is causing trouble and shows garbage there. Probably the script should convert the reg-file from utf-8 to ISO-8859-1 or something.
Posts: 1
Does anyone know how the XP Publisher handles the "adjust picture size" - or if it is possible to change the values to choose from? It currently says:
Do you want to resize these pictures?
o Small (fits in a 640 by 480 window)
o Medium (fits in a 800 by 600 window)
o Large (fits in a 1024 by 768 window)
Thanks in advance -
-Daniel Weidman
Posts: 7994
I've fixed this for now so that it's set to: http://www.mypage.com/gallery2/favicon.ico -- we should put a favicon.ico in with gallery2 and use that, instead of relying on your site's favicon.ico. Is that satisfactory? It's harder to actually provide the base favicon.ico of the site itself.
Yup, this is a bug. Please file it! However, what character set should we convert it to? Converting to ISO-8859-1 will work for the umlaut, but it wouldn't work for, say, a Kanji character. We'd have to convert to the primary character set of whatever the windows box is running, and we have no idea what that is. I'm not sure how to fix this.
Posts: 7994
No idea. It's a Windows-internal thing as far as I can tell. Perhaps they have some APIs on their website for this...
Posts: 34
I have the module installed and activated successfully. How to I update my registry so my album appears? I had this working in G1. Have tried to point my browser to /modules/publishxp/DownloadReg and /modules/publishxp/itemaddpublishXP but after that I'm stuck.
Thanks - novice trying very hard to figure this out by myself but this has beaten me.
Posts: 34
Found it ! Posting here for next person as it's taken me ages to find this.
Log into your gallery - go to an album - click add item - choose windows tap and you can download the registry file from there.
Posts: 47
I really like the web publishing functionality in Windows XP a lot! However, I do not have Windows XP... I have Windows 2000 instead and I must say I am pretty happy about it (apart from the missing web publishing functionality).
I have seen that there is a web publishing wizard for windows 95+ and windows NT4.0+ for Internet Explorer 4.0+. This software can be downloaded for free at http://support.microsoft.com/?kbid=256930
Using this software, files should be published using 'send to' --> 'web publishing wizard'. I have played around a little bit, but I cannot get it working. At least the windows XP registry file is not working, as this web publishing wizward stores the data somewhere else. I have also tried to enter the URL supplied in the .reg file manually, but I have not yet succeeded.
Has anybody tried this before? Or does anybody know more about this? Is it possible at all using Gallery's XP publisher? If there is some hope to get it working, I am planning to try it harder...
Posts: 6
I have downloaded the publishxp.zip to find that it doesn't work the latest version of G2. Is there an updated version about?
Thanks!
Posts: 32509
just get the latest nightly snapshot of g2. publishxp is included.
Posts: 12
I'm using gallery2 and I got this on my site admin page on maintenance - any ideas what I'm doing wrong?
Implementation for direct publishing from XP
Incompatible module!
Core API Required: 5.0 (available: 6.8)
Module API Required: 0.10 (available: 2.0)
thanks!
[EDIT - working fine, just had to go to the modules page through gallery and download that one]
Posts: 22
Any chance someone can point me to where I can read on how to use XP Publisher for others types of content or images to another website that isnt ran by any gallery type software. I just want to be able to allow my users to download the little file that installs it into the wizard, ask for login and pass, logs them in and uploads into their directory... Thanks for any help.
www.forgemodels.com