|
|
|
|
From: Guest Date: September 13 2007, 14:59
|
Hi,
I can't run gallery install.php because of "Error: unable to connect database server: Access denied for user '........'@'layeredpaneltest1.freeweb7.com' (using password: YES) (username is the same I had put when create database, or which use for log in - I tryed both of them in gallery cfg.php . What' a problem? Thanks. |
|
|
|
From: Encaps Date: September 13 2007, 15:14
|
| Did you test the database username and password with phpmyadmin, or in any other way? Make sure the database exists and username/password are valid |
|
|
|
From: Guest Date: September 14 2007, 04:24
|
| Yes, phpMyadmin shows database name, user name/password are correct |
|
|
|
From: Guest Date: September 14 2007, 05:27
|
| Thank you. I understand - hos name must be localhost, but not full domain name. |
|
|
|
From: Guest Date: September 13 2007, 13:20
|
| When you send the image to the shopping cart, can you add different print options to the request? Is there a functional similar to this beffore I attempt to do this? I have created in the admin a place to add different print options and they show up with the image, now how to get them to pass to shopping cart, and to have the cart work the same as is does normally... Right now I am using check boxes with different sizes to send to cart, but to list the different print options with the single image is my goal... |
|
|
|
From: Encaps Date: September 13 2007, 17:12
|
I have an idea: you can dynamicaly generate the add to shopcart url - depends from a checked checkbox(es), and next parse the url in shopcart script, and next add additional PayPal parameter (don't remember the parameter's name exactly, you can read the manual from PayPal) into the shopcart script, and calculate new price. So you must submit to PayPal new item's price and additional parameter, which will reflect checked checkboxes.
It's just an idea. |
|
|
|
From: Guest Date: September 12 2007, 13:57
|
| Hello. Excuse me for asking such a question that should normally be obvious... but how do I actually upload, name galleries, set how many photos shall be on a page, and everything else? There is no upload system in the admin menu (Admin/index.php) and apparently nowhere else, nor any place to specify the path to a certain folder. What must I do? |
|
|
|
From: Encaps Date: September 12 2007, 14:10
|
It's ok, take a look at the demo admin:
http://***.encaps.net/software/encapsgallery/demo/admin/gallery.php
in the bottom you will find the upload form
config demo:
http://***.encaps.net/software/encapsgallery/demo/admin/gallery_cfg.php
|
|
|
|
From: Guest Date: September 12 2007, 14:57
|
| Thank you... I have been there, but the Images, Categories, and all other tabs except Config are completely empty, and there is nothing in them. Why does that happen? I just unpacked the archive and put it there without deleting anything. Here is a picture http://[_protected_url_]/img211/6056/errorfi6.jpg |
|
|
|
From: Encaps Date: September 12 2007, 16:47
|
Thank you for the screenshot,
it's interesting, no errors, no warning, empty page...
Could you please let me check it out online? |
|
|
|
From: Guest Date: September 12 2007, 17:35
|
| Sure. The link is http://***.php . I would be really happy if anyone could help me out with this. Thanks. |
|
|
|
From: Guest Date: September 12 2007, 17:37
|
| ah, and username/password are demo/demo |
|
|
|
From: Encaps Date: September 12 2007, 17:49
|
There is some php error - script execution is failed, but webserver does not show any notice. Could you please turn on php parameters:
error_reporting = E_ALL
display_errors = On
for I can estimate what is wrong? |
|
|
|
From: Guest Date: September 12 2007, 18:15
|
| how do i do that? sorry, i mainly just installed php over apache (both from msi installers) and i'm not sure where to find these lines and enable them. |
|
|
|
From: Encaps Date: September 12 2007, 18:24
|
It's easy:
1) make a copy of your current php.ini ( I guess c:\program files\php\php.ini)
2) edit php.ini
find and change the following settings:
(line #353 in my case)
error_reporting = E_ALL
line #360 in my case)
display_errors = On
3) restart Apache
|
|
|
|
From: Guest Date: September 12 2007, 18:48
|
| Ok, I have done so. |
|
|
|
From: Encaps Date: September 12 2007, 19:02
|
Take a look: "Call to undefined function mysql_connect() " - that means you must enable mysql library for your php instance.
Click on "My Computer"->"Control Panel"->"Add and remove software"->"Php"-> configure -> enable mysql extention
And make sure you installed Mysql |
|
|
|
From: Guest Date: September 12 2007, 20:46
|
I have downloaded and installed mysql then reconfigured php and installed the extensions, then restarted my computer, but now I get
Error: unable to connect database server: Access denied for user 'root'@'localhost' (using password: NO)
Please configure database parameters first ยป
in the blank space, with errors turned off. What should I do now? Sorry for all the trouble... |
|
|
|
From: Encaps Date: September 13 2007, 06:37
|
No worry, it's ok.
Now you should configure mysql and put valid database credentials (database host, db name, user, password) into EncapsGallery config - "admin/gallery_cfg.php"; next install EncapsGallery db tables - "admin/gallery_install.php" |
|
|
|
From: Guest Date: September 14 2007, 06:40
|
| I looked, but I can't understand anything between the codes in the admin/ php's. Must I also edit something in C:\Program Files\MySQL\MySQL Server 5.0 , or just the php's in /admin ? What must I exactly edit in them to install it? |
|
|
|
From: Encaps Date: September 14 2007, 06:50
|
1) Make sure you installed and configured Mysql database, user, password
2) put valid database credentials to the gallery config: run "admin/gallery_cfg.php" in browser and fill in relevant fields, next push "Submit" button
3) install the gallery database tables: run "admin/gallery_install.php" in browser
4) enjoy
Let me know if I can help you more. |
|
|
|
From: Guest Date: September 16 2007, 08:52
|
Thank you very much, I finally got it working :) The window contents appear well now.
Just one more question though... is there also a public upload system I can set so anyone can upload pictures, not only admins, but into a certain limit of xx GB on my computer I can set, and when that limit is exceeded the oldest pictures delete one by one with each new uploaded picture? |
|
|
|
From: Encaps Date: September 16 2007, 09:39
|
The feature you described is not implemented with EncapsGallery.
|
|
|
|
From: Guest Date: September 11 2007, 21:52
|
| I cm currently using EncapsGallery-1.7.12, how can I get the watermark funtion to work? |
|
|
|
From: Encaps Date: September 12 2007, 07:23
|
For apply watermark you can modify the file "gallery_custom.html" - replace the following line:
<IMG src="./rwx_gallery/<?php echo $html["item"]["filename_normal"]?>"
with new one:
<IMG src="core/gallery_watermark.php?file=../rwx_gallery/<?php echo $html["item"]["filename_normal"]?>"
This relates to templates "simple_sc", "acd", "expo", "light".
For apply watermark to "raym" template, you should modify file "html/raym/gallery.html", line #68:
document.getElementById("photo_img_id").src = 'core/gallery_watermark.php?file=.'+_path_filename_normal;
|
|
|
|
From: Guest Date: September 11 2007, 07:07
|
I am getting the following message when I try to upload a image file and it does not create thumb image
Fatal error: Call to undefined function imagecreatetruecolor() in /encapsgallery/core/misc.class.php on line 254
The GD info on phpinfo() is
GD Support enabled
GD Version 1.6.2 or higher
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Kindly advice.
|
|
|
|
From: Encaps Date: September 11 2007, 07:19
|
The function imagecreatetruecolor() requires GD 2.0.1 or later.
What php version do you use?
I would suggest you to replace imagecreatetruecolor() to imagecreate() in the file /core/misc.class.php |
|
|
|
From: Guest Date: September 12 2007, 06:38
|
| Our system admin compiled the php with GD 2.0.1 and the problem got solved |
|
|
|
From: Guest Date: September 07 2007, 14:20
|
| for some reason i can configure the gallary but it will not save any of the images or any of my catagories? I am current hosting for free with X10hosting until i get it up an running |
|
|
|
From: Encaps Date: September 07 2007, 14:25
|
| Show me your gallery online, I will check it |
|
|
|
From: Encaps Date: September 07 2007, 14:38
|
| Database SQL-server (DNS name or IP) was empty in you config. Now it's ok. |
|
|
|
From: Guest Date: September 06 2007, 15:40
|
| Is Encaps PHP Photo Gallery free for non-commercial use? |
|
|
|
From: Encaps Date: September 06 2007, 16:31
|
Yes, EncapsGallery is free for non-commercial use.
If you'd like to remove copyright, or redistribute EncapsGallery as is, or part/module of your package/service, we would ask you to buy the gallery source code for every commercial redistribution. |
|
|
|
From: Guest Date: September 05 2007, 14:58
|
| Is it safe hacker from? I like it. But I Have to make shure before buying. |
|
|
|
From: Encaps Date: September 05 2007, 15:09
|
Old EncapsGallery versions prior to v.1.0 had some vulnerabilities:
- sql injections
- remote php scripts execution
You can search the Web for "EncapsGallery vulnerability" - there are
vulnerabilities listed for EncapsGallery prior to version 1.0
Now the code is clean and safe.
If you know any possible vulnerability, let me know. |
|
|
|
From: Guest Date: September 04 2007, 18:42
|
Do you have a search function for your forum?
Trying to see if I can remove the buy or add to cart option.
|
|
|
|
From: Encaps Date: September 05 2007, 06:45
|
Forum search feature is not yet implemented.
For remove "buy" or "add to cart" or any e-commerce features you need just to deactivate shopping cart from config |
|
|
|
From: Guest Date: September 03 2007, 13:13
|
I am trying to use an include using php... but i get this error:
Warning: _show(./html/raym/gallery.html): failed to open stream: No such file or directory in /url/html/gallery/core/Gallery.php on line 61
I couldn't find in the config to set the path to the templates... |
|
|
|
From: Encaps Date: September 03 2007, 13:17
|
| I guess the config.ini.php is broken or may be $config["path"] is empty. Could you please show me your config.ini.php? |
|
|
|
From: Guest Date: September 03 2007, 15:40
|
I'm not using the newest gallery, I liked the upload process of the older one... but here it is:
$config["db_host"] = "servinfo";
$config["db_name"] = "db_name";
$config["db_user"] = "db_user";
$config["db_pass"] = "pass";
$config["db_prefix"] = "encaps_";
$config["theme"] = "raym";
$config["pager_items_per_page"] = "9";
$config["thumbsize"] = "150";
$config["thumbsize_type"] = "w";
$config["debug"] = "";
$config["demo"] = "";
$config["admin_uname"] = "demo";
$config["admin_passwd"] = "pass";
$config["sc_active"] = "Y";
$config["sc_business"] = "";
$config["sc_sandbox"] = "N";
$config["sc_ipn_url"] = "http://.../shopcart_ipn.php"; |
|
|
|
From: Guest Date: September 03 2007, 15:42
|
It works fine if I don't call from an include...
If I can't include it, thats fine I'll use layers... or iframe. |
|
|
|
From: Encaps Date: September 03 2007, 18:20
|
Your config file is ok,
it's just not possible to include the gallery script into a page from subdirectory.
I think it will be good step to implement this feature with EncapsGallery, thank you for the idea. |
|
|