picasa plugin problem?
picasa plugin problem?
hi, when i try to use the picasa plugin and try to import my album into my entry.
i type [picasa]test[/picasa] in the body. after i press preview,
it got this error msg.
======================================
Fatal error: Call to undefined function: domxml_open_mem() in /mnt/web_h/d01/s33/b01ed2c0/www/serendipity/plugins/serendipity_event_picasa/serendipity_event_picasa.php on line 217
=======================================
wht should i do to solve the problems?
anyone can help me?
thx you so much
i type [picasa]test[/picasa] in the body. after i press preview,
it got this error msg.
======================================
Fatal error: Call to undefined function: domxml_open_mem() in /mnt/web_h/d01/s33/b01ed2c0/www/serendipity/plugins/serendipity_event_picasa/serendipity_event_picasa.php on line 217
=======================================
wht should i do to solve the problems?
anyone can help me?
thx you so much
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: picasa plugin problem?
This means your provider's PHP does not have XML extensions installed.
You'll need to ask your hoster to enable DOMXML extensions...
Regards,
Garvin
You'll need to ask your hoster to enable DOMXML extensions...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Posts: 1
- Joined: Thu Feb 17, 2005 7:36 am
- Contact:
Perhaps I've done something wrong or I'm simply missing it.
I've installed the Picasa Plug-In and I have it active in my plug-in's list but I have no idea what to do next.
I have uploaded the XML file and necessary images to the directory I designated as my picasa directory.
What do I do now? How do I add the gallery to my entry? What did I miss?
any help would be appreciated
I've installed the Picasa Plug-In and I have it active in my plug-in's list but I have no idea what to do next.
I have uploaded the XML file and necessary images to the directory I designated as my picasa directory.
What do I do now? How do I add the gallery to my entry? What did I miss?
any help would be appreciated
I know very little about php so bear with me. I'm learning.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Maybe you need to contact the creator of the plugin - I have never used it )
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Sorry, i only speak german. But i help you!jojo pumpkin wrote:Perhaps I've done something wrong or I'm simply missing it.
I've installed the Picasa Plug-In and I have it active in my plug-in's list but I have no idea what to do next.
I have uploaded the XML file and necessary images to the directory I designated as my picasa directory.
What do I do now? How do I add the gallery to my entry? What did I miss?
any help would be appreciated
Schön, das ich auch mal helfen kann!
First select the album you wont to display and then EXPORT it as a Website in XML-Code. Put it on your webserver in a seperat directory named "picasa". Put your albums in this directory. this album must be in a seperate directory with the name of the album.
Now install the Picasa-Plugin an give the plugin the name of your webserver-picasa-directory. Not the path of your album!
Picasa-Directory:
http://www.yourdomain.com/picasa/
Your albums:
http://www.yourdomain.com/picasa/album1/
http://www.yourdomain.com/picasa/album2/
http://www.yourdomain.com/picasa/album3/
http://www.yourdomain.com/picasa/album4/
In the new entry now you can use the name of the albums:
[picasa]album1[/picasa]
It works very fine and very well!
BOAH! Was für ein englisch! Übrigens: Das funktioniert sogar einwandfrei auf Server mit SAFE_MODE = ON!!!!
hello,HadleyB wrote: Now install the Picasa-Plugin an give the plugin the name of your webserver-picasa-directory. Not the path of your album!
could you help me please? I am a total "serendipity newbie" - how can I rename Picasa-Plugin after installation? There is only an option for PATH te edit.
(as you can see, es gibt auch viel schlimmeres English - und Deutsch
thanks in advance
After searching for 'simple instructions' for the Picasa Plugin, I have decided to figure it out and share my findings with you.
YOUR WEBSERVER
Create a directory on your webserver where you will be placing your photo albums.
For example; photobook. The directory would be located here; http://www.domain.com/photobook
PICASA
Using Picasa, export your pictures using the XML template.
This will create a directory on your computer that contains two subdirectories (named images and thumbnails) and a file called index.xml.
The name of the album you define in the process is what the directory will be called and later show up online. Choose wisely, however you can change it later on if you don't like it. In our example; I named the album 'vacation'.
YOUR WEBSERVER
Now FTP this entire directory into your photo albums directory on your server.
So, using our example, it should be located here, http://www.domain.com/photobook/vacation
SERENDIPITY - PICASA PLUGIN
Install the Picasa plugin. This should be pretty straight forward.
Let's configure the plugin. We will get this working, then you can configure to your liking.
To start, choose 'Yes' for ENTRY_BODY, EXTENDED_BODY, HTML_NUGGET.
Path: This is the URL path to your album directory you defined above; http://www.domain.com/photobook There is no trailing slash.
Show title of the albums: choose 'Yes'
Open the target window using JavaScript: choose 'Yes'
Smarty Template: choose 'Tnt Gallery' to begin.
Ok, now the plugin is configured.
SERENDIPITY - CONTENT
Let's show a gallery on the site.
Create a new entry and (using our example) type in the Entry Body the following; [photobook]vacation[/photobook]
The format is always: [your album directory]your album[/your album directory]
Save this entry.
You should now be able to view the images online.
Hope this helps.
YOUR WEBSERVER
Create a directory on your webserver where you will be placing your photo albums.
For example; photobook. The directory would be located here; http://www.domain.com/photobook
PICASA
Using Picasa, export your pictures using the XML template.
This will create a directory on your computer that contains two subdirectories (named images and thumbnails) and a file called index.xml.
The name of the album you define in the process is what the directory will be called and later show up online. Choose wisely, however you can change it later on if you don't like it. In our example; I named the album 'vacation'.
YOUR WEBSERVER
Now FTP this entire directory into your photo albums directory on your server.
So, using our example, it should be located here, http://www.domain.com/photobook/vacation
SERENDIPITY - PICASA PLUGIN
Install the Picasa plugin. This should be pretty straight forward.
Let's configure the plugin. We will get this working, then you can configure to your liking.
To start, choose 'Yes' for ENTRY_BODY, EXTENDED_BODY, HTML_NUGGET.
Path: This is the URL path to your album directory you defined above; http://www.domain.com/photobook There is no trailing slash.
Show title of the albums: choose 'Yes'
Open the target window using JavaScript: choose 'Yes'
Smarty Template: choose 'Tnt Gallery' to begin.
Ok, now the plugin is configured.
SERENDIPITY - CONTENT
Let's show a gallery on the site.
Create a new entry and (using our example) type in the Entry Body the following; [photobook]vacation[/photobook]
The format is always: [your album directory]your album[/your album directory]
Save this entry.
You should now be able to view the images online.
Hope this helps.
akqjt wrote:After searching for 'simple instructions' for the Picasa Plugin, I have decided to figure it out and share my findings with you.
YOUR WEBSERVER
Create a directory on your webserver where you will be placing your photo albums.
For example; photobook. The directory would be located here; http://www.domain.com/photobook
PICASA
Using Picasa, export your pictures using the XML template.
This will create a directory on your computer that contains two subdirectories (named images and thumbnails) and a file called index.xml.
The name of the album you define in the process is what the directory will be called and later show up online. Choose wisely, however you can change it later on if you don't like it. In our example; I named the album 'vacation'.
YOUR WEBSERVER
Now FTP this entire directory into your photo albums directory on your server.
So, using our example, it should be located here, http://www.domain.com/photobook/vacation
SERENDIPITY - PICASA PLUGIN
Install the Picasa plugin. This should be pretty straight forward.
Let's configure the plugin. We will get this working, then you can configure to your liking.
To start, choose 'Yes' for ENTRY_BODY, EXTENDED_BODY, HTML_NUGGET.
Path: This is the URL path to your album directory you defined above; http://www.domain.com/photobook There is no trailing slash.
Show title of the albums: choose 'Yes'
Open the target window using JavaScript: choose 'Yes'
Smarty Template: choose 'Tnt Gallery' to begin.
Ok, now the plugin is configured.
SERENDIPITY - CONTENT
Let's show a gallery on the site.
Create a new entry and (using our example) type in the Entry Body the following; [photobook]vacation[/photobook]
The format is always: [your album directory]your album[/your album directory]
Save this entry.
You should now be able to view the images online.
Hope this helps.
I have done all this! But i get this message when i put [picasa]namibdesert[/picasa] in my weblog:
Picasa Plugin: Index file of the album could not be found (/picasa/namibdesert)
Whats the deal with that?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
To me this sounds as if that directory does not exist. did you use picasa to create it on your server?
Regards,
Garvin
To me this sounds as if that directory does not exist. did you use picasa to create it on your server?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
i'm getting the error when my directory input in the plugin=garvinhicking wrote:Hi!
To me this sounds as if that directory does not exist. did you use picasa to create it on your server?
Regards,
Garvin
http://www.wesselvanschaijk.nl/picasa
when i press preview i get a white screen, no data with this directory input=
http://www.wesselvanschaijk.nl/picasa/
I made the xml file plus gallery on my own harddisk. It was a map called africa2005, that i made the xml webgallery from. Should i run picasa on my server then or what else could be causing this?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Phew, I'm sorry...I've never used Picasa, so I don't really know what it's supposed to look like.
Best regards,
Garvin
Phew, I'm sorry...I've never used Picasa, so I don't really know what it's supposed to look like.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 78
- Joined: Sun May 13, 2007 8:51 pm
- Location: heilbronn
- Contact:
i made everything correct.....but it will not work...
Picasa Plugin: Index File of the Album not found (http://subberman.su.funpic.de/fotos/20052007)
index.xml and the directories are REALLY there.
Plugin-Settings are also made correct. (correct path,...)
serendipity: 1.1.2
picasa plugin: 1.3
But it is right there! i also tried to give read/write access...but nothing changed.
HELP!?
Picasa Plugin: Index File of the Album not found (http://subberman.su.funpic.de/fotos/20052007)
index.xml and the directories are REALLY there.
Plugin-Settings are also made correct. (correct path,...)
serendipity: 1.1.2
picasa plugin: 1.3
But it is right there! i also tried to give read/write access...but nothing changed.
HELP!?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi subberman!
Inside the serendipity_event_picasa.php you can find this line:
please modify it to:
(Remove the '@' signs, those will then show additional error messages).
Also make sure that you enter a file system *PATH* in the configuration of the plugin. It seems you entered a URL!
Instead of "http://subberman.su.funpic.de/fotos/20052007" you might need to enter "/path/to/your/blog/fotos/20052007".
Giving "URL"s only works if your PHP supports "allow_url_fopen", which is often disabled on tightened servers.
Regards,
GArvin
Inside the serendipity_event_picasa.php you can find this line:
Code: Select all
$xml = @join('', @file(preg_replace('/ /', '%20', $album).'/index.xml'));
Code: Select all
$xml = join('', file(preg_replace('/ /', '%20', $album).'/index.xml'));
Also make sure that you enter a file system *PATH* in the configuration of the plugin. It seems you entered a URL!
Instead of "http://subberman.su.funpic.de/fotos/20052007" you might need to enter "/path/to/your/blog/fotos/20052007".
Giving "URL"s only works if your PHP supports "allow_url_fopen", which is often disabled on tightened servers.
Regards,
GArvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 78
- Joined: Sun May 13, 2007 8:51 pm
- Location: heilbronn
- Contact:
at first...thanks for your help...but it doesn't work at all.
i tried your code changes, and i also did the path changes, but the plugin will not display any album. it only shows this message:
"Picasa Plugin: Index file of the album not found (/fotos/20052007)"
my root is: http://subberman.su.funpic.de
my blog-root-directory is: http://subberman.su.funpic.de/blogger
the directory name ist "20052007"
at my blog entry, i wrote: [picasa]20052007[/picasa] to call the plugin
i tried the following "album" paths at the plugin config:
http://subberman.su.funpic.de/blogger/fotos
http://subberman.su.funpic.de/fotos
/blogger/fotos
/fotos
blogger/fotos
fotos
none of them worked.
-> the files are in every directory i try to open
-> i can call the "index.xml" manually.
-> i also tried to rename the folder to "test" (i switched the the plugin-call, too)
i don't have any idea what to try next. it seems there a problem with the plugin.
i'm used to install plugins to serendipity, but i never had any problems. i can't explain myself why it isn't working.
i also uninstalled/reinstalled the plugin. i also tried another zip-file. but nothing changed.
thanks for your help...
i tried your code changes, and i also did the path changes, but the plugin will not display any album. it only shows this message:
"Picasa Plugin: Index file of the album not found (/fotos/20052007)"
my root is: http://subberman.su.funpic.de
my blog-root-directory is: http://subberman.su.funpic.de/blogger
the directory name ist "20052007"
at my blog entry, i wrote: [picasa]20052007[/picasa] to call the plugin
i tried the following "album" paths at the plugin config:
http://subberman.su.funpic.de/blogger/fotos
http://subberman.su.funpic.de/fotos
/blogger/fotos
/fotos
blogger/fotos
fotos
none of them worked.
-> the files are in every directory i try to open
-> i can call the "index.xml" manually.
-> i also tried to rename the folder to "test" (i switched the the plugin-call, too)
i don't have any idea what to try next. it seems there a problem with the plugin.
i'm used to install plugins to serendipity, but i never had any problems. i can't explain myself why it isn't working.
i also uninstalled/reinstalled the plugin. i also tried another zip-file. but nothing changed.
thanks for your help...