|
|
|
|
From: Guest Date: May 26 2008, 00:46
|
hi, admin
how to add "hot" top 5 and "new upload" 5 categories? |
|
|
|
From: Encaps Date: May 26 2008, 10:55
|
| There is no simple quick answer to your question. You should modify php core and html templates. |
|
|
|
From: Guest Date: May 22 2008, 15:44
|
Hello! I'm installing your Image Gallery, and I'm trying to install the gallery tables but it keeps cycling me through the "Install Gallery Tables - Submit" page and the login page without ever doing anything.
I've configured the parameters in config.ini.php and set up a database on my host site. What is going wrong?
I've tried entering the test page you've given in response to other questions: admin/test/test-mysql-connect.php and I get this answer:
Could not connect: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
What's going wrong? Thank you!
~Laura |
|
|
|
From: Encaps Date: May 22 2008, 18:41
|
Hello Laura,
1) there is script for test mysql connection:
admin/test/test-mysql-connect.php,
please set up valid mysql parameters in the line #2, and let me look at the result online (URL)
2) there is script for test php sessions:
admin/test/test-sessions.php
Let me look at the script online (URL) |
|
|
|
From: Guest Date: May 26 2008, 16:44
|
What or where is Line #2? If you mean line 2 of the install instructions, I have the security set to 777 and 666 for the instructed files. Otherwise I'm not sure what you mean.
I ran the two test scripts you gave.
admin/test/test-mysql-connect.php gave me:
Could not connect: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
and admin/test/test-sessions.php gave a totally blank screen as the result.
This is the URL for my site and Encaps gallery folder:
http://***.com//encapsgallery/admin/...
Thank you! |
|
|
|
From: Guest Date: May 26 2008, 16:50
|
I changed the MySQL parameters in Line 2 of the .php file and now the URL http://***.com//encapsgallery/admin/test/test-mysql-connect.php
displays Connected Successfully.
However, the test session URL still displays a blank screen.
Thank you!
~Laura |
|
|
|
From: Encaps Date: May 26 2008, 16:57
|
Laura, thank you for the details.
The page test-sessions.php is blank - that means something wrong with php sessions on your webserver. You may ask your hosting provider to fix php sessions (usually it's wrong sessions_save_path directive in php.ini) |
|
|
|
From: Guest Date: May 26 2008, 18:17
|
According to my Host the path to my PHP is:
/usr/local/bin/php
Is that different than it should be? If so, what files do I need to make this change in? |
|
|
|
From: Encaps Date: May 27 2008, 03:48
|
According to your phpinfo, your php.ini is located at /usr/local/lib/php-4.4.7/lib/php.ini .
According to your php.ini, the "session.save_path" value is "/var/php_sessions".
So, make sure the path "/var/php_sessions" is correct/exists. |
|
|
|
From: Guest Date: May 27 2008, 16:48
|
I talked to my host site and they set the session.save_path to /var/php_sessions as you suggested. However, I'm still getting a blank page for the /admin/test/test-sessions.php
What should I do now?
Sorry for all this trouble. Thank you! |
|
|
|
From: Encaps Date: May 28 2008, 09:08
|
| I did not suggest you to set session.save_path, I just told you to make sure the path is correct. Please tell your hosting provider to fix php sessions for your webserver. |
|
|
|
From: Guest Date: May 22 2008, 09:44
|
| are there any plans to be able to upload more than one photo at a time through the web interface? It's very tedious to upload 20 plus photos individually, or ftp them and then move them into thier respective category practically individually. |
|
|
|
From: Encaps Date: May 22 2008, 12:04
|
| Unfortunately this feature is not scheduled. |
|
|
|
From: Guest Date: May 21 2008, 16:14
|
Hello! I'm installing your Image Gallery, and I'm on the steps:
3) configure the gallery: run http://***.php
4) run the database installer: http://***.php
I've gotten the configuration I want, but when I go to install it I keep getting this message:
"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)"
I've entered:
Database host: *******.**********.***
Database user: ******* (my database username)
Database password: entered my login password for the database
Database name: encaps (the name I've designated for my database)
What's going wrong? |
|
|
|
From: Encaps Date: May 22 2008, 08:54
|
There is script for test mysql connection:
admin/test/test-mysql-connect.php,
please set up valid mysql parameters in the line #2, and let me look at the result online. |
|
|
|
From: Guest Date: May 20 2008, 23:51
|
I've installed your gallery software! It is awesome! I have one question, when I select on the thumbnail the source image is very large. Is there a way to control the size of the image after it is selected from the Thumbnail?
Thanks for the great code! |
|
|
|
From: Encaps Date: May 21 2008, 09:06
|
Hello, thank you for the feedback.
It's not clear enough, what do you need to do with thumbnails? |
|
|
|
From: Guest Date: June 11 2008, 23:22
|
Thumbnails are fine. However when you select a thumbnail to view the result is a very large image. Can the actual image size be adjusted or does it have to be adjusted before uploading?
|
|
|
|
From: Guest Date: May 19 2008, 09:34
|
Hi there
I have copied the files over to the webserver and setup the catalog.php file but I can't run the database installer - It asks for a username and password.
I've enter both username and password from catalog.php and also tried the default and nothing is working.... Any ideas? |
|
|
|
From: Encaps Date: May 19 2008, 10:08
|
| There is empty (blank) username and password by default (for admin area db installer) |
|
|
|
From: Guest Date: May 15 2008, 08:19
|
Hi, I think Ive managed to change currency to UK, but Paypal is showing USD, any help appreciated...
Ken |
|
|
|
From: Encaps Date: May 15 2008, 08:33
|
shopcart.php, line #49:
<input type="hidden" name="currency_code" value="USD"> |
|
|
|
From: Guest Date: May 14 2008, 04:59
|
hi, i'm using the expo skin - what file(s) do i edit to change the size of the thumbnail preview window?
also where can i edit the font size / typeface for the gallery ?
Thanks
|
|
|
|
From: Guest Date: May 14 2008, 05:35
|
i mean ... not the actual thumbnail jpg size but the table surrounding it ... are these the r1-000...gif files ?
Cheers
|
|
|
|
From: Encaps Date: May 14 2008, 05:47
|
| Feel free to play with html templates |
|
|
|
From: Guest Date: May 14 2008, 06:38
|
| Ok ... do i need to edit the php or resize the gifs ? Nothing within the php looks obvious - unless i'm missing something . |
|
|
|
From: Encaps Date: May 14 2008, 06:48
|
| Just edit templates under /html/ directory |
|
|
|
From: Guest Date: May 13 2008, 23:13
|
| Are there search parameters that can be used? For example quotes, asterisk, plus / minus? They don't seem to work with the search function in this software but maybe I'm missing something? |
|
|
|
From: Encaps Date: May 14 2008, 04:22
|
| There is simple search function without quotes, asterisk and +/- |
|
|
|
From: Guest Date: May 14 2008, 17:04
|
None of these functions work properly. For example:
Entering "sup" yields 5 results with the word "supercharged". Entering "sup*" yields 32 results, only five containing the letters "sup".
+ and - either cause no results to appear, or irrelevant results as with an asterisk. |
|
|
|
From: Guest Date: May 14 2008, 17:05
|
| Wait are you saying no quotes, but there is *+- or are you saying none of these do anything? |
|
|
|
From: Encaps Date: May 14 2008, 18:24
|
| Would you like us to clean up the search feature to ignore anything except letters and digits? |
|
|
|
From: Guest Date: May 15 2008, 01:07
|
| Special characters seem to cause unpredictable results. Perhaps it would be best to make the search function ignore them, assuming they can't be made to do anything useful. |
|
|
|
From: Encaps Date: May 15 2008, 03:29
|
For ignore any characters except letters and digits you may add the following line into search.php:
$_GET["search"] = preg_replace("/[^a-z0-9]/i","",$_GET["search"]);
$result = $gallery->search($_GET["search"]);
|
|
|
|
From: Guest Date: May 15 2008, 14:16
|
That works, but I had to add a space in the string so it doesn't smash all the words together. I put the space after the 9, like this:
$_GET["search"] = preg_replace("/[^a-z0-9 ]/i","",$_GET["search"]); |
|
|
|
From: Guest Date: May 25 2008, 13:44
|
I am utilizing the shopcart template and apparently the search function does not work properly.
I search for an item (i know I have) but comes with different results and/or no results.
www.cjdesignsexotic.com
Can you help me? |
|
|
|
From: Guest Date: May 12 2008, 20:34
|
| Is there a way to make the search results page tell you what you searched for? In other words, can you echo what the user enters in the search box in the "Search results" line? |
|
|
|
From: Encaps Date: May 13 2008, 06:20
|
| You may just put <?php echo $_GET["search"]?> anywhere you'd like to output the search string. |
|
|