|
|
|
|
From: Guest Date: December 13 2007, 10:39
|
| yeah so i bought the newest version then uploaded it in a new folder on my site, i havent installed it yet everytime i try to it goes to this page, '/gallery/admin/catalog_db_install.php' (id put the whole link but for future refrence i dont want anyone to be able to get in there and mess with it) anyway it asks for my user name and password, and im like what the hell i didnt put in anything to have a user name or password. please help meeeee gahhhj |
|
|
|
From: Encaps Date: December 13 2007, 14:37
|
Thank you for purchase EncapsGallery PHP sources.
Just press the "Submit" button in the login form, and leave "username" and "password" blank if there are empty parameters in the config.ini.php:
$config["admin_uname"] = "";
$config["admin_passwd"] = "";
Let me know. |
|
|
|
From: Encaps Date: December 13 2007, 14:38
|
| And don't forget to change permissions for "config.ini.php" and "rwx_gallery" and "rwx_gallery/thumbs" |
|
|
|
From: Guest Date: December 13 2007, 04:53
|
Hello
I`m using encaps gallery version 1.6.2 and I bought the source code.
Can I "update" to version 1.9.4?
Would I have to buy a new source code or can I use the "old" one?
Then,
How can i achieve an update?
Do I just have to overwrite the files on my server or do I have to install it again from the beginning? ( this would overwrite my database)
Can you help?
klemens |
|
|
|
From: Encaps Date: December 13 2007, 06:47
|
Hello Klemens,
you don't have to buy the new source code (1-year free updates), I will send you the link for download EncapsGallery-1.9.4 source code.
You can try to overwrite old files without reinstalling the database, but I do not garantee it will work - I did not try to upgrade from v.1.6.2 to v.1.9.4 |
|
|
|
From: Guest Date: December 10 2007, 19:37
|
hi how can i use this script on my web page.....????
i m new . i dnt know how to manage php config. on my page :D |
|
|
|
From: Encaps Date: December 11 2007, 06:20
|
1) unzip & upload the gallery files onto your webserver
2) install the gallery database
3) put your website header and footer html into catalog_head.html and catalog_foot.html |
|
|
|
From: Guest Date: December 07 2007, 08:52
|
"Unable to connect the database host free-mysql.com with username ******** and password ******"
Occurs only when i tried in Unix server, and IIS doesn't have any problem other thumbnail..
I wonder why this Dbase issue only on Lenux server!!!..
Please help!!!!!!!! |
|
|
|
From: Encaps Date: December 07 2007, 15:02
|
| So you try to connect the same database from both Linux and Windows IIS servers, and the issue happens only on Linux? That's interesting, let me look at the issue online. And I would like to connect your Linux server with ftp for figure out the issue. |
|
|
|
From: Guest Date: December 07 2007, 04:16
|
While am configuring Database getting this message
"Unable to connect the database host free-mysql.com with username ******** and password ******"
Even after entering Correct Username and password etc....!!!!!!!
Please help me...... |
|
|
|
From: Encaps Date: December 07 2007, 07:01
|
| Could you please show me the link? |
|
|
|
From: Guest Date: December 06 2007, 21:33
|
| Using your application, can you integrate paypal and then send link to download the picture? |
|
|
|
From: Encaps Date: December 07 2007, 07:08
|
| Actually, paypal is already integrated, but download link is not implemented. |
|
|
|
From: Guest Date: November 30 2007, 17:53
|
1. how to change 3x3 orientation of pics to 4x5 in the EncapsGallery-1.9.4? tnx.
2. when i scan for new uploads, /rwx_gallery/album1/someimage.jpg is not read.
the exact message:
Scanning [../rwx_gallery/] directory for new uploads...
New file detected: ../rwx_gallery/best03
Thumbnail failed for [../rwx_gallery/best03]
Added to the catalog: ../rwx_gallery/best03
...scan is finished.
tnx for your time. |
|
|
|
From: Encaps Date: December 01 2007, 06:43
|
1) The orientation is configured from the html-template and config-file, for example 3x3 orientation is :
1) config.ini.php, "$config["pager_items_per_page"] = 9"
2) html/gallery.html, "$count++ % 3" :
<? foreach($html['items'] as $item){ if( $count++ % 3 == 0 ) { ?>
so, 4x5 orientation will be:
1) $config["pager_items_per_page"] = 20
2) "$count++ % 4"
<? foreach($html['items'] as $item){ if( $count++ % 4 == 0) { ?>
2) the gallery does not scan subdirectories inside "rwx_gallery" |
|
|
|
From: Guest Date: December 01 2007, 11:28
|
| but in the previous version of encaps, the gallery did scan for subdirectories in the rwx_gallery |
|
|
|
From: Encaps Date: December 01 2007, 16:04
|
| You are right, this feature was disabled for easily maintenance |
|
|
|
From: Guest Date: December 01 2007, 19:34
|
| oh i see. can i change the php script to enable this feature or do i have to buy the whole thing? |
|
|
|
From: Encaps Date: December 02 2007, 14:42
|
| This feature was completely removed from the gallery source code,so if you'd like to do customization by yourself, you may purchase the gallery sources. |
|
|
|
From: Guest Date: December 03 2007, 17:26
|
| ok. tnx. |
|
|
|
From: Guest Date: November 29 2007, 20:26
|
Hi,
My web hosting company changed the server my site and my encaps gallery are on.
Now when I enter the URL I was using...it points me to the encaps Admin username/password prompt. I enter it and it lets me in. However, when I attempt to do anything, I get a red box and an error that says
"Unable to connect the database host localhost with username xxxxxxx and password xxxxxx"
(Please note the xxxxxxx's are in place to disguise my real username and password).
So my gallery is completely down now. Do I need to reinstall from scratch and start all over? I have many many hours of work invested in this. All my images and database files are still on there server...I just can't access them.
Please help!
Bret
|
|
|
|
From: Guest Date: November 29 2007, 21:37
|
Well I have lost the database and am forced to start over...sigh...
This is the error I am now getting from the server:
"The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log. "
What does this mean? |
|
|
|
From: Encaps Date: November 30 2007, 08:24
|
I think if your hosting company did not delete the database, it's possible to restore it. Just ask them for new database parameters.
If you got an error on installing new database, let me look at the error online . |
|
|
|
From: Guest Date: November 30 2007, 12:35
|
| go to: www.sandimascharvel.com/album |
|
|
|
From: Encaps Date: December 01 2007, 05:58
|
| Ok,please send me ftp parameters by e-mail |
|
|
|
From: Encaps Date: December 02 2007, 15:03
|
I revised the files by ftp - it's fixed now. There was something wrong with the directory "album" permissions. I just removed the directory and created it once again.
|
|
|
|
From: Guest Date: December 02 2007, 18:10
|
Thank you so much for your generous time and assistance.
It is hard to believe someone would take time to help others as you did with me.
Bret
|
|
|
|
From: Guest Date: November 28 2007, 14:01
|
Hello!
How can I display the number of all images in my site? I would like to display it on gallery's frontpage. Thanks a lot! Adam. |
|
|
|
From: Encaps Date: November 28 2007, 18:44
|
| Hello Adam, I will implement the total number of images with new Encaps Gallery release. |
|
|
|
From: Guest Date: November 29 2007, 15:01
|
| Thank you. When expected the new version? |
|
|
|
From: Encaps Date: December 01 2007, 09:02
|
Adam,
for output the total number of images you can do something similar to:
$res = $db->query("SELECT COUNT(*) FROM gallery WHERE visible='on'");
echo $res[0][0]; |
|
|
|
From: Guest Date: December 01 2007, 15:06
|
| Uhh, it's good looking! One last question: which file do I have to edit? I would like the nuber appearing on the "index.php". Thank you very much! Adam. |
|
|
|
From: Guest Date: December 14 2007, 15:17
|
| Hello Andrew! I guess you have a lot of work, that's the reason why don't you answer me. Please answer my question, if you have a little time for me :) Thanks for your time! Adam. |
|
|
|
From: Encaps Date: December 14 2007, 17:14
|
| Hello Adam, sorry for the delay in response. Show me your index.php source code, I will tell you where and how to output the total number of images. |
|
|
|
From: Guest Date: November 28 2007, 08:56
|
Hello
Call you make the shopping cart in gallery go back to the last visited page after the updating the shoppoing cart
becuase now it goes back to the main "index.php" page after you press contuine shopping. I also found a trird party script to send images download after success paymant be the IPN look like you but is different. You can find the soruce code here. http://***.belahost.com/files/free_download.zip Let me know if this stuff can be fix |
|
|
|
From: Encaps Date: November 28 2007, 18:46
|
| I will modify the shopcart for go back to the last visited page, as you described. Thank you for the idea. |
|
|
|
From: Guest Date: November 29 2007, 08:23
|
I use a java to go one back in the history. still need help with the ipn code to send back a download after successful payment:
<?php
/**
* #################################################################################
* Belahost.com Free Digital Download Solution
* Copyright (c) BelaHost.com, 2007
* Developer: Sergey Petkevich
* #################################################################################
*/
require_once('/include/config.php');
require_once(SITE_ROOT.'include/Core.php');
$core = new Core;
$core->dbConnect();
if(phpversion() <= "4.0.6") { $_POST = ($HTTP_POST_VARS); }
if (!$_POST['txn_type'])
{
header("Status: 404 Not Found");
$core->dbDisconnect();
exit();
}
else
{
header("Status: 200 OK");
}
$postvars = array();
foreach ($_POST as $ipnvars => $ipnvalue)
$postvars[] = $ipnvars;
$postipn = 'cmd=_notify-validate';
$orgipn = '<b>Posted IPN variables in order received:</b><br><br>';
for ($x=0; $x < count($postvars); $x++)
{
$y=$x+1;
$postkey = $postvars[$x];
$postval = $$postvars[$x];
$postipn.= "&" . $postkey . "=" . urlencode(stripslashes($postval)); $orgipn.= "<b>#" . $y . "</b> Key: " . $postkey . " <b>=</b> " . $postval . "<br>";
}
if(2 == PAYPAL_MODE)
{
$socket = fsockopen ("www.belahost.com", 80, $errno, $errstr, 30);
$header = "POST /pp/ HTTP/1.0\r\n";
$header.= "Host: www.belahost.com\r\n";
$header.= "Content-Type: application/x-www-form-urlencoded\r\n";
$header.= "Content-Length: " . strlen($postipn) . "\r\n\r\n";
}
else if(3 == PAYPAL_MODE)
{
$socket = fsockopen ("www.sandbox.paypal.com", 80, $errno, $errstr, 30);
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header.= "Host: www.sandbox.paypal.com\r\n";
$header.= "Content-Type: application/x-www-form-urlencoded\r\n";
$header.= "Content-Length: " . strlen($postipn) . "\r\n\r\n";
}
else
{
$socket = fsockopen ("www.paypal.com", 80, $errno, $errstr, 30);
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header.= "Host: www.paypal.com\r\n";
$header.= "Content-Type: application/x-www-form-urlencoded\r\n";
$header.= "Content-Length: " . strlen($postipn) . "\r\n\r\n";
}
if (!$socket && !$error)
{
echo "Problem: Error Number: " . $errno . " Error String: " . $errstr;
$core->dbDisconnect();
exit;
}
else
{
fputs ($socket, $header . $postipn);
while (!feof($socket))
{
$reply = fgets ($socket, 1024);
$reply = trim ($reply);
}
$report = "$noteipn<br><b>IPN Reply:$reply</b>";
if($_POST['mc_gross'] < 0.01)
{
$_POST['mc_gross'] = $_POST['payment_gross'];
}
if('Completed' != $_POST['payment_status'] or (PAYPAL_ACCOUNT != $_POST['receiver_email']) or (abs($_POST['mc_gross']-$itemDownload[$_POST['item_number']]['price']) > 0.01))
{
exit(); // Exit untill payment is made or echeck is cleared
}
if (!strcmp ($reply, "VERIFIED"))
{
echo $report;
$core->successfulTransaction($_POST, $thankYouSubject, $thankYouEmail);
}
elseif (!strcmp ($reply, "INVALID"))
{
echo "Invalid: $report";
}
fclose($socket);
$core->dbDisconnect();
exit();
}
?>
here's the index php
<?php
/**
* #################################################################################
* Belahost.com Free Digital Download Solution
* Copyright (c) BelaHost.com, 2007
* Developer: Sergey Petkevich
* #################################################################################
*/
require_once(':/home/content/s/y/m/symmetry123/html/gallery/free_download/include/config.php');
require_once(':/home/content/s/y/m/symmetry123/html/gallery/free_download/include/Core.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title><?php echo SITE_NAME;?></title>
</head>
<body>
<table border="0" width="600">
<?php
foreach($itemDownload as $key=>$val)
{
$byuNowButton = Core::generatePayPalStandBuyNow($key, $val['name'], $val['price']);
echo'
<tr>
<td>'.$val['name'].'</td>
<td> $'.$val['price'].'</td>
<td>'.$byuNowButton.'</td>
</tr>';
}
?>
</table>
</body>
</html>
here's the download
<?php
/**
* #################################################################################
* Belahost.com Free Digital Download Solution
* Copyright (c) BelaHost.com, 2007
* Developer: Sergey Petkevich
* #################################################################################
*/
include('include/config.php');
require_once(SITE_ROOT.'/include/Core.php');
$core = new Core;
$core->dbConnect();
$found = 0;
$file = mysql_escape_string($_GET['file']);
$sid = mysql_escape_string($_GET['sid']);
$strsql = 'SELECT Product_id, Product_name, Email FROM downloads where Autoincr = \''.$file.'\' and Sid = \''.$sid.'\'';
$rs = mysql_query($strsql, $conn);
while ($row = mysql_fetch_assoc($rs))
{
$prodictId = $row['Product_id'];
$productName = $row['Product_name'];
$email = $row['Email'];
$found = 1;
}
mysql_free_result($rs);
if($found < 1)
{
$notes = '<font color="#FF0000"><b>Sorry, that download link is not available.</b></font>';
echo $notes;
}
else
{
$ext = split("\.", $itemDownload[$prodictId]['location']);
$file_ext = $ext[1];
$filesize = filesize(SITE_ROOT.'/download/'.$itemDownload[$prodictId]['location']);
if('zip' == $file_ext)
{
$mine = 'application/x-zip-compressed';
}
else
{
$mine = 'application/octet-stream';
}
$productName = str_replace(" ", "_", $productName);
header ("Content-length: $filesize\n");
header ("Content-Disposition: attachment; filename=$productName.$ext[1]\n");
header ("Content-type: $mine\n\n");
readfile(SITE_ROOT.'/download/'.$itemDownload[$prodictId]['location']);
}
?>
Please help you can download the full file http://www.belahost.com/files/free_download.zip |
|
|