Topic: Gallery XML not found

I've been trying to add and upload a gallery on my wordpress page, but to no avail. After following the steps via simpleviewer online, I still end up with the error message "Gallery XML not found".

Any idea why? Please help.

Thanks in advance.

Re: Gallery XML not found

Have you created the /wp-content/uploads/ folder and ensured that the folder has write permissions (777)?
Being that this is the folder in which the XML files are stored, this could be the problem.

You may already have discovered the following information but just in case (and for others)...
The current version of WP-SimpleViewer plugin is v2.0.5.
The instructions for installing and adding a gallery can be found here:
http://simpleviewer.net/simpleviewer/su … pleviewer/

Steven Speirs
SimpleViewer Support Team.

Re: Gallery XML not found

Yes, I have created the /wp-content/uploads/ folder and its has write permissions (777) for all.
And I've got the updated version, v2.0.5 too. Followed the instructions to install and all, but i when i load my webpage, it says "gallery xml not found" sad

Re: Gallery XML not found

After creating a gallery, check in the uploads folder to see if the corresponding [gallery_id].xml file is in there to establish whether the xml file is not being created at all or simply not being found when loading the gallery.

Steven Speirs
SimpleViewer Support Team.

Re: Gallery XML not found

I just created a new gallery and checked in the uploads folder.. (wp-content/uploads), but i cant find any gallery_id.xml file. did i miss out something?

Last edited by angelalimjh (2010-09-23 13:42:31)

Re: Gallery XML not found

Each gallery has a corresponding numbered XML file in the uploads folder (eg 1.xml, 2.xml, etc).
If no xml files are being created then the most likely explanations are either that the uploads folder does not have the necessary permissions or that your WP-SimpleViewer installation is somehow corrupt, in which case, I'd deactivate the plugin, uninstall it and start from scratch, downloading and reinstalling/reactivating the plugin from here:
http://simpleviewer.net/simpleviewer/su … pleviewer/

Steven Speirs
SimpleViewer Support Team.

Re: Gallery XML not found

I have been trying to make SimpleViewer work with Wordpress 3.01 for the last 2 days... no luck !!
Plug-in installed correctly, Upload folder with 777 permission.

No XML file is created when I upload images to the gallery (using Wordpress, of course).
If I try to add the gallery anyway, I get the following error message:

[simpleviewer
Warning: domdocument() expects at least 1 parameter, 0 given in /web/htdocs/......./wp-content/plugins/wp-simpleviewer/build-gallery.php on line 100

Fatal error: Call to undefined method: domdocument->load() in /web/htdocs/....../wp-content/plugins/wp-simpleviewer/build-gallery.php on line 101
]

I presume that is due to the fact that the .xml file doesn't exist.

Ivan

Re: Gallery XML not found

Searching the web for these error messages, it would appear that the problem is directly related to PHP.
The comments on this page: http://www.php.net/manual/en/domdocument.construct.php seem to suggest that the problem "is due to the old domxml extension, which you need to disable."
And searching further afield, several people in other forums suggest the way to do this would be to comment out the line "extension=php_domxml.dll" in php.ini.
If you don't have access to the php.ini file, I'm not sure where to go from here. Perhaps contact your web host and explain the problem. They may be able to help.

Steven Speirs
SimpleViewer Support Team.

Re: Gallery XML not found

Hi Steven,

I had searched the internet as well, but I hadn't found anything that could help me.
Anyway, the good news is that you were right and the problem was with the php.ini file.
Luckily my hosting provider had a few already made, I picked the one tailored for wordpress and everything works fine now.

Thanks,

ivan

Re: Gallery XML not found

BTW, I had a look at the default php.ini file and the new one, but, so far, I haven't noticed any difference.
I will keep comparing the two, because I'm curious to find out where the problem was. It might help others.

Ivan

Re: Gallery XML not found

Steven Speirs wrote:

Have you created the /wp-content/uploads/ folder and ensured that the folder has write permissions (777)?
Being that this is the folder in which the XML files are stored, this could be the problem.

You may already have discovered the following information but just in case (and for others)...
The current version of WP-SimpleViewer plugin is v2.0.5.
The instructions for installing and adding a gallery can be found here:
http://simpleviewer.net/simpleviewer/su … pleviewer/

Are these instructions outdated?  I am trying to follow these instructions in the link above, and some of the links and tabs are not present any longer.

This is so frustrating.

I have a large collection of photos that I want to insert into a WP post, but I have no idea what to do.

How do I add my photos to a gallery?

Last edited by adevandry (2010-12-24 22:23:54)

Re: Gallery XML not found

The instructions on this page: http://www.simpleviewer.net/simpleviewe … pleviewer/ are current and correct.
If you find any links that are no longer present, please let us know which ones so that we can have them fixed.

In order to create a SimpleViewer gallery in WordPress:
(1) Follow the 'Installation' instructions here: http://www.simpleviewer.net/simpleviewe … r/#install
(2) And then follow the 'Adding a Gallery' instructions here: http://www.simpleviewer.net/simpleviewe … er/#create (following the 'Adding Images From WordPress Media Library' section if not using Flickr as the source of the images)

If you continue to experience problems, please let us know at what point are you experiencing trouble.

Steven Speirs
SimpleViewer Support Team.

Re: Gallery XML not found

As an alternative to using WP-SimpleViewer, you could create a SimpleViewer gallery using svBuilder or svBuilder-Pro, upload the entire gallery folder somewhere using an FTP client such as Filezilla and use an <iframe> in your WordPress post to display the gallery (using a plugin such as PageView) ensuring that the 'src' attribute of the <iframe> tag points to the gallery's index HTML file (using an absolute or relative path), eg:

<iframe src="http://www.example.com/gallery/index.html" width="800" height="600" frameborder="0" scrolling="no"></iframe>
Steven Speirs
SimpleViewer Support Team.