|
|
|
|
From: Guest Date: October 13 2008, 14:44
|
this error occured while configuring the database configuration.. what will i do? pls help!!
Unable to connect the database host 1 with username 1 and password 1
Can't connect to MySQL server on '1' (22) |
|
|
|
From: Encaps Date: October 13 2008, 15:26
|
You should set up valid database connection parameters: existing hostname, existing database name, existing username and password.
So, create/reconfigure the database first, next install EncapsGallery. |
|
|
|
From: Guest Date: October 10 2008, 15:13
|
| How would I call up the name of the category (or subcategory) and display it above thumbnails and enlarged images? |
|
|
|
From: Encaps Date: October 13 2008, 15:30
|
| Try <?php echo @$this->html["cat"]["title"] ?> |
|
|
|
From: Guest Date: October 09 2008, 21:08
|
Installation has gone okay to a point.
When I try to access http://***.****.com/encapsgallery/admin/catalog_cfg.php file I am taken to a login screen. I click submit to gain access to setup a password. I put the username/password in and it takes me straight to the login screen again. It wont accept my password but will allow empty fields taking me back to the configuration page.
I can navigate away from the creation screen and hit submit again to get to http://***.*************.com/encapsgallery/admin/catalog_db_install.php where the error shown is "http://***.*************.com/encapsgallery/admin/catalog_db_install.php"
Any clues as to what this is? |
|
|
|
From: Guest Date: October 09 2008, 21:09
|
Here is the error:
Unable to connect the database host localhost with username root and password
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
|
|
|
|
From: Guest Date: October 10 2008, 11:55
|
| Okay I got past that part by manually editing the config.ini.php file. Now when I login to the admin area every page redirects to the login screen. The link to the left redirect and any submit buttons. In the Images section I am getting my sql errors. Are these things related? |
|
|
|
From: Encaps Date: October 13 2008, 16:09
|
PHP sessions engine is not configured properly for your webserver. Please ask your hosting provider to fix PHP sessions.
Next you will be able to log in to EncapsGallery admin area and install database tables. |
|
|
|
From: Guest Date: October 09 2008, 04:42
|
| I use the shopcart skin, how could I switch from 3 to 2 thumbnails columns in the display? |
|
|
|
From: Encaps Date: October 09 2008, 14:47
|
html/shopcart/catalog.html, line #26:
if($count++ % 3 == 0 && $count >1) echo '</tr><tr>';
change to
if($count++ % 2 == 0 && $count >1) echo '</tr><tr>';
|
|
|
|
From: Guest Date: October 08 2008, 11:39
|
| how to define a thumb type for pdf file in encaps. Please help me. I am stuck with it since 2 days |
|
|
|
From: Encaps Date: October 09 2008, 14:45
|
| you could create thumbnail for PDF manually |
|
|
|
From: Guest Date: October 07 2008, 20:02
|
How can I make a specific category be the default when the gallery is viewed? For example, whenever someone views the gallery I want category 1 to be displayed first instead of a random mix of all images.
I have incorporated the gallery into my site by using the following code in my gallery/index.php file:
<?php
include("catalog.php");
?> |
|
|
|
From: Encaps Date: October 09 2008, 14:45
|
you could try this:
index.php:
1) <?php header("Location:catalog.php?cat=1")?>
or
2) <?php if(!isset($_GET["cat"]))$_GET["cat"]=1 ?> |
|
|
|
From: Guest Date: October 09 2008, 15:34
|
| I can't seem to make that work. Where would you suggest inserting the code? |
|
|
|
From: Encaps Date: October 09 2008, 16:12
|
into index.php, before including catalog.php:
<?php
if(!isset($_GET["cat"]))$_GET["cat"]=1 ;
include("catalog.php");
?> |
|
|
|
From: Guest Date: October 09 2008, 17:42
|
| That did the trick, thank you! |
|
|
|
From: Guest Date: October 07 2008, 12:22
|
Hello,
Is there a way to set the gallery so that new picture uploads go to the front of the gallery instead of at the end of it? I need for new picture additions to be at the front on the gallery pages.
Any help is much appreciated.
Thanks!! |
|
|
|
From: Encaps Date: October 09 2008, 14:41
|
sql query should be modified from core/catalog.class.php,
function _get_items()
$sql .= " ORDER BY id DESC" |
|
|
|
From: Guest Date: October 02 2008, 06:33
|
Is there a special tweak to make appear the controllers in the embedded quicktime player?
Even in the below condition, the controllers are invisible.
<param name="autoplay" value="true">
<param name="controller" value="true">
|
|
|
|
From: Guest Date: October 02 2008, 08:20
|
Hello there? Can you please tell me why the cotrollers for the quicktime player donot appear?
cool and a very simple script. |
|
|
|
From: Encaps Date: October 02 2008, 11:32
|
| Show me html code for the embeded quicktime player with visible controls you described, I will compare the code. |
|
|
|
From: Guest Date: October 02 2008, 22:48
|
Hello again.
http://***.****-*********.com/galerie/catalog.php?action=show_custom&id=4&cat=1
The link above takes to a page where a quicktime is embedded.
Thanks for you response. |
|
|
|
From: Guest Date: October 02 2008, 22:53
|
and below is the html code. I am using the acd template to
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://***.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
<?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> >
<PARAM NAME=movie VALUE="./rwx_gallery/<?php echo ($html["item"]["filename_normal"])?>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <param name="autoplay" value="true"><param name="controller" value="true"><EMBED src="./rwx_gallery/<?php echo ($html["item"]["filename_normal"])?>" quality=high bgcolor="#000000" <?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://***.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
<?php }else if($ext == ".mov" || $ext == ".pano"){?>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" <?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> codebase="http://***.apple.com/qtactivex/qtplugin.cab" id="qtvrObject">
<param name="autoplay" value="true">
<param name="controller" value="false">
<param name="pluginspage" value="http://***.apple.com/quicktime/download/indext.html">
<param name="target" value="myself">
<param name="type" value="video/quicktime">
<param name="src" value="./rwx_gallery/<?php echo $html["item"]["filename_normal"]?>">
<embed src="./rwx_gallery/<?php echo $html["item"]["filename_normal"]?>" <?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> autoplay="true" controller="true" border="0" pluginspage="http://***.apple.com/quicktime/download/indext.html" target="myself" type="video/quicktime" name="qtvrObject" EnableJavaSript="true" ></embed>
</object> |
|
|
|
From: Guest Date: October 02 2008, 23:01
|
OK.
i have noticed that controller value is set false.
Have changed to true, even then, no controllers available:
i,e.., the play, pause buttons and the progressbar at the bottom of the video.
|
|
|
|
From: Encaps Date: October 03 2008, 05:06
|
| Could you please show me html code for the embeded quicktime player with VISIBLE controls you described? |
|
|
|
From: Guest Date: October 03 2008, 05:26
|
How show you the code of catalog_custom.html .
using acd template.
(please, don't put any html code, the message will be ignored)
in demo link:
http://***.******.net/software/encapsgallery/demo_acd/catalog.php?action=show_custom&id=123&cat=12
no controllers bar: progressbar, stop play, revind, volume.
I am using acd template. i make no changes to the file.
|
|
|
|
From: Guest Date: October 03 2008, 05:28
|
tell me please,
how to describe visible controls?
I am using acd template and in catalog_custom.html this is the code
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://***.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
<?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> >
<PARAM NAME=movie VALUE="./rwx_gallery/<?php echo ($html["item"]["filename_normal"])?>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <param name="autoplay" value="true"><param name="controller" value="true"><EMBED src="./rwx_gallery/<?php echo ($html["item"]["filename_normal"])?>" quality=high bgcolor="#000000" <?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://***.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
<?php }else if($ext == ".mov" || $ext == ".pano"){?>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" <?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> codebase="http://***.apple.com/qtactivex/qtplugin.cab" id="qtvrObject">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="pluginspage" value="http://***.apple.com/quicktime/download/indext.html">
<param name="target" value="myself">
<param name="type" value="video/quicktime">
<param name="src" value="./rwx_gallery/<?php echo $html["item"]["filename_normal"]?>">
<embed src="./rwx_gallery/<?php echo $html["item"]["filename_normal"]?>" <?php echo ($html["item"]["size_w"])?"width="".$html["item"]["size_w"].""":""?> <?php echo ($html["item"]["size_h"])?"height="".$html["item"]["size_h"].""":""?> autoplay="true" controller="true" border="0" pluginspage="http://***.apple.com/quicktime/download/indext.html" target="myself" type="video/quicktime" name="qtvrObject" EnableJavaSript="true" ></embed>
</object> |
|
|
|
From: Encaps Date: October 03 2008, 09:54
|
No, do not show me quicktime player without the controls,
just show me the player from any other website, with visible controls.
|
|
|
|
From: Guest Date: October 03 2008, 10:26
|
the url below is an example.
http://***.uic.edu/depts/accc/itl/realmedia/code/embed_quicktime.html
sroll down a bit
thanx again. |
|
|
|
From: Guest Date: October 03 2008, 10:54
|
another page with an embedded quicktime player with controllers
http://demo.openrepository.com/demo/bitstream/2384/15227/1/Jones-old.mov |
|
|
|
From: Guest Date: October 06 2008, 03:04
|
| can you please provide some info. i am really looking forward to purchase this script. thanx |
|
|
|
From: Encaps Date: October 23 2008, 01:45
|
just realised - you could set actual movie size (width & height), for be able to view everything generated by quicktime player
|
|
|
|
From: Guest Date: October 01 2008, 21:17
|
| Is it possible for someone viewing a photo to order it or contact me about it? |
|
|
|
From: Guest Date: October 01 2008, 09:35
|
| hi i want to limit 1Mb PER IMAGE on uploading in my gallery! how will i do it? pls help! |
|
|
|
From: Encaps Date: October 01 2008, 11:12
|
admin/html/catalog.html, line #100:
<input type="hidden" name="MAX_FILE_SIZE" value="1000000"> |
|
|