Dynamic Flash Gallery PHP Support Product Page
This topic was archived
can't update gallery - system error
Asked 29 Sep 2007 16:22:10
1
has this question
29 Sep 2007 16:22:10 nancy morgan posted:
Hello, I just purchased flash gallery php.When I try to move thumbnails I first get, "communicating with the server" and then: “unable to save the gallery information. System error.”
When I try to upload a new image it says it's uploading but photo is not displayed nor is in in the gallery folder on the server.
I uploaded the page with the dynamic gallery to the root directory.
My gallery folder with source images, xml file and thumbs is on the root directory (set to 777) -- thumbs folder also set to 777
ScriptsLibrary folder has been uploaded to root directory
These file uploaded to the root:
dmxFlashGallery2.swf
dmxFlashGallery2_action.php
dmxFlashGallery2_editor.swf
thanks in advance! This will be great if I can get it to work -- nancy
Replies
Replied 01 Oct 2007 17:27:36
01 Oct 2007 17:27:36 Georgi Kralev replied:
Hi Nancy,
Try to add the following code to the file: dmxFlashGallery2_action.php
<i>
if( !isset( $HTTP_SERVER_VARS ) )
{
$HTTP_SERVER_VARS = $_SERVER;
}
if( !isset( $HTTP_GET_VARS ) )
{
$HTTP_GET_VARS = $_GET;
}
if( !isset( $HTTP_POST_VARS ) )
{
$HTTP_POST_VARS = $_POST;
}
if( !isset( $HTTP_POST_FILES ) )
{
$HTTP_POST_FILES = $_FILES;
}
</i>
The resulting code could look like this:
<i>
<?php
require_once("ScriptLibrary/dmxFlashGallery2.php"
;
<b>
if( !isset( $HTTP_SERVER_VARS ) )
{
$HTTP_SERVER_VARS = $_SERVER;
}
if( !isset( $HTTP_GET_VARS ) )
{
$HTTP_GET_VARS = $_GET;
}
if( !isset( $HTTP_POST_VARS ) )
{
$HTTP_POST_VARS = $_POST;
}
if( !isset( $HTTP_POST_FILES ) )
{
$HTTP_POST_FILES = $_FILES;
}</b>
$gallery = new dmxFlashGallery();
$gallery->datapath = "Images";
$gallery->imageDimension = Array(450,450);
$gallery->thumbDimension = Array(150,150);
$gallery->admin = Array("admin", "xxxxx"
; // administration credentials
$gallery->init();
?>
</i>
I hope this helps you.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Try to add the following code to the file: dmxFlashGallery2_action.php
<i>
if( !isset( $HTTP_SERVER_VARS ) )
{
$HTTP_SERVER_VARS = $_SERVER;
}
if( !isset( $HTTP_GET_VARS ) )
{
$HTTP_GET_VARS = $_GET;
}
if( !isset( $HTTP_POST_VARS ) )
{
$HTTP_POST_VARS = $_POST;
}
if( !isset( $HTTP_POST_FILES ) )
{
$HTTP_POST_FILES = $_FILES;
}
</i>
The resulting code could look like this:
<i>
<?php
require_once("ScriptLibrary/dmxFlashGallery2.php"
<b>
if( !isset( $HTTP_SERVER_VARS ) )
{
$HTTP_SERVER_VARS = $_SERVER;
}
if( !isset( $HTTP_GET_VARS ) )
{
$HTTP_GET_VARS = $_GET;
}
if( !isset( $HTTP_POST_VARS ) )
{
$HTTP_POST_VARS = $_POST;
}
if( !isset( $HTTP_POST_FILES ) )
{
$HTTP_POST_FILES = $_FILES;
}</b>
$gallery = new dmxFlashGallery();
$gallery->datapath = "Images";
$gallery->imageDimension = Array(450,450);
$gallery->thumbDimension = Array(150,150);
$gallery->admin = Array("admin", "xxxxx"
$gallery->init();
?>
</i>
I hope this helps you.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Replied 03 Oct 2007 13:44:12
03 Oct 2007 13:44:12 nancy morgan replied:
Thank you for your response. Before getting your post I realized that the permissions weren't changed for every file in the images folders and thumbs folder. And it started working without my adding the code you suggested.
I'm having another issue that I would love your help on.
Is there any way to change the type face for the image name (i've left the title blank) but I would love to control the image name font and size if possible. I don't mind adding code to the xml file manually I would just love to customize that part. It seems that I could do it if I new the param name as I can't figure out where it is getting the default one from.
Great product and thanks!
PS. I would also love a commenting field if you are working on a features list for future versions.
I'm having another issue that I would love your help on.
Is there any way to change the type face for the image name (i've left the title blank) but I would love to control the image name font and size if possible. I don't mind adding code to the xml file manually I would just love to customize that part. It seems that I could do it if I new the param name as I can't figure out where it is getting the default one from.
Great product and thanks!
PS. I would also love a commenting field if you are working on a features list for future versions.
Replied 03 Oct 2007 17:23:20
03 Oct 2007 17:23:20 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Is there any way to change the type face for the image name (i've left the title blank) but I would love to control the image name font and size if possible. I don't mind adding code to the xml file manually I would just love to customize that part. It seems that I could do it if I new the param name as I can't figure out where it is getting the default one from.
Great product and thanks!
PS. I would also love a commenting field if you are working on a features list for future versions.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
For changing the font size you could check the following FAQ:
www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=11640
Unfortunately, at this point the font of titles cannot be changed.
If you describe in more details what you you mean under <b>commenting field</b>, we will see if it can be implemented in some of the future versions of the extension.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Is there any way to change the type face for the image name (i've left the title blank) but I would love to control the image name font and size if possible. I don't mind adding code to the xml file manually I would just love to customize that part. It seems that I could do it if I new the param name as I can't figure out where it is getting the default one from.
Great product and thanks!
PS. I would also love a commenting field if you are working on a features list for future versions.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
For changing the font size you could check the following FAQ:
www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=11640
Unfortunately, at this point the font of titles cannot be changed.
If you describe in more details what you you mean under <b>commenting field</b>, we will see if it can be implemented in some of the future versions of the extension.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Replied 03 Oct 2007 20:45:21
03 Oct 2007 20:45:21 nancy morgan replied:
Hi again, the type size didn't change when I added that line of code into my xml code....
In terms of commenting, my client would like to add some photo information, much like a cutline in a newspaper, that would possibly go directly under the large photo but in a smaller typeface and not bold. My client only wants to add a few lines of description -- the dimensions of the product -- but it won't fit in the photo title and that type would be too large anyway.
A much larger concern is that I still don't have the kinks out yet. I can edit the photo name and move the photos but when I try to upload a photo it appears to do it but it is not there. I refreshed etc. but I don't even see the new photos when I refresh in dreamweaver. I went ahead and put in the code you gave me earlier in the string but it still does not work. Any idea what may be the trouble?
I have many galleries on the root of the site. I do have a folder for each gallery that contains the images, xml and thumbs folder. The html for that contains the gallery lives at the root. Is that the problem? I had the site set up that way but I can change if that is the issue.
Thanks again, Nancy
In terms of commenting, my client would like to add some photo information, much like a cutline in a newspaper, that would possibly go directly under the large photo but in a smaller typeface and not bold. My client only wants to add a few lines of description -- the dimensions of the product -- but it won't fit in the photo title and that type would be too large anyway.
A much larger concern is that I still don't have the kinks out yet. I can edit the photo name and move the photos but when I try to upload a photo it appears to do it but it is not there. I refreshed etc. but I don't even see the new photos when I refresh in dreamweaver. I went ahead and put in the code you gave me earlier in the string but it still does not work. Any idea what may be the trouble?
I have many galleries on the root of the site. I do have a folder for each gallery that contains the images, xml and thumbs folder. The html for that contains the gallery lives at the root. Is that the problem? I had the site set up that way but I can change if that is the issue.
Thanks again, Nancy
Replied 03 Oct 2007 21:03:50
03 Oct 2007 21:03:50 nancy morgan replied:
I just test it with the html page containing the Flash gallery in the image folder and it still doesn't work. It looks like the image is uploading but upon refresh and checking the server & refreshing ... no image
Thanks, Nancy
Replied 04 Oct 2007 09:27:42
04 Oct 2007 09:27:42 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I just test it with the html page containing the Flash gallery in the image folder and it still doesn't work. It looks like the image is uploading but upon refresh and checking the server & refreshing ... no image
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi Nancy,
Did you try to put the code that I have provided into dmxFlashGallery2_action.php?
Regards
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
I just test it with the html page containing the Flash gallery in the image folder and it still doesn't work. It looks like the image is uploading but upon refresh and checking the server & refreshing ... no image
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi Nancy,
Did you try to put the code that I have provided into dmxFlashGallery2_action.php?
Regards
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Replied 04 Oct 2007 16:53:22
04 Oct 2007 16:53:22 nancy morgan replied:
George,
The code didn't have an affect. I did follow another post and put in an .htaccess file and that seemed to work when the gallery (files, thumbs, xml & html) are all in one folder. But I did other things as well so I'm not sure that was what worked.
I was trying to add this to a site with multiple flash galleries but one in which the html files were outside of the galleries. So, the action.php file would be copied to the site root. That worked for one gallery but when I made another Dynamic Flash Gallery dmxFlashGallery2_action.php file was being written over. Making the first one I placed not work.
So I need to restructure my sites to have each gallery in a directory with all associated files in it including the html page that has the gallery on it. And that seems to be working. But as far as I can see, that will involve rebuilding the flash galleries and restructuring my site. If there is an easier way let me know. I hope I am now understanding this better.
My other error is that (i know this is bad) but I had the site locally in a proof directory, not at the site root. I corrected that as well.
In other words: If I had done exactly what the tutorial said do it would have worked (with the .htaccess file) but I didn't have my site structured that way. But I can change it.
Thanks for such great products (I love active slideshow pro too!) --- and for your followup.
p.s. any plans to make active slideshow pro dynamic? that would be too awesome -- Nancy
The code didn't have an affect. I did follow another post and put in an .htaccess file and that seemed to work when the gallery (files, thumbs, xml & html) are all in one folder. But I did other things as well so I'm not sure that was what worked.
I was trying to add this to a site with multiple flash galleries but one in which the html files were outside of the galleries. So, the action.php file would be copied to the site root. That worked for one gallery but when I made another Dynamic Flash Gallery dmxFlashGallery2_action.php file was being written over. Making the first one I placed not work.
So I need to restructure my sites to have each gallery in a directory with all associated files in it including the html page that has the gallery on it. And that seems to be working. But as far as I can see, that will involve rebuilding the flash galleries and restructuring my site. If there is an easier way let me know. I hope I am now understanding this better.
My other error is that (i know this is bad) but I had the site locally in a proof directory, not at the site root. I corrected that as well.
In other words: If I had done exactly what the tutorial said do it would have worked (with the .htaccess file) but I didn't have my site structured that way. But I can change it.
Thanks for such great products (I love active slideshow pro too!) --- and for your followup.
p.s. any plans to make active slideshow pro dynamic? that would be too awesome -- Nancy
Replied 04 Oct 2007 18:02:16
04 Oct 2007 18:02:16 Georgi Kralev replied:
Hi Nancy,
Thank you for you update on the issue.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>p.s. any plans to make active slideshow pro dynamic? that would be too awesome -- Nancy<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
About dynamic Active Slideshow Pro you could check the following FAQ:
www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=11469
I hope that you will find it useful.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Thank you for you update on the issue.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>p.s. any plans to make active slideshow pro dynamic? that would be too awesome -- Nancy<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
About dynamic Active Slideshow Pro you could check the following FAQ:
www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=11469
I hope that you will find it useful.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com