PDA

View Full Version : Error on email notification to user when a link is moved.


talle
05-03-2006, 11:15 PM
This is the new location of your link:

{dir_link}

{dir_link} not show the new location, show the last location.

talle
05-05-2006, 11:53 AM
Help me, please.

Simon Gooffin
05-05-2006, 01:33 PM
Could you please let me know what version you use? I just tested our demo and here is what I get:
This is the new location of your link:

http://www.esyndicat.com/demo/recreation/

______________________________
Thank you,
eSyndiCat Demo Directory Administration Team
http://www.esyndicat.com
links@esyndicat.com

talle
05-06-2006, 01:02 AM
My version is 1.5 free.

Nick Collins
05-08-2006, 10:13 AM
Hello talle, please PM your FTP and script admin panel credentials and I will investigate your problem.

talle
06-30-2006, 08:07 PM
You don't have any solution? :cry:

Loren
06-30-2006, 08:25 PM
You don't have any solution? :cry:

Talle I am sure there is an answer :) It's not always simple...

You must PM Nick your FTP information, so he can check the script on your server...have you done this yet?

Loren
06-30-2006, 08:25 PM
Talle I am sure there is an answer :) It's not always simple...

You must PM Nick your FTP information, so he can check the script on your server...have you done this yet?

PS he probably wont get back to you now until Monday, he's off weekends, but Sergey might be able to help if he comes on...

talle
06-30-2006, 09:55 PM
Talle I am sure there is an answer :) It's not always simple...

You must PM Nick your FTP information, so he can check the script on your server...have you done this yet?

I already sent a PM to Nick with my credentials (FTP and script), but he always said to me that I was patient. I think that of all ways this is not necessary. The error must be in the moveLink function.

(excuse me, I have many difficulties to write in English)

Loren
06-30-2006, 10:35 PM
I already sent a PM to Nick with my credentials (FTP and script), but he always said to me that I was patient. I think that of all ways this is not necessary. The error must be in the moveLink function.

(excuse me, I have many difficulties to write in English)

Not a problem talle :good:

Yes i know it's frustrating when you want an answer and it has been a while now looking at when you first posted... Don't know if there is a updated free version as i have the pro version, but it might be worth checking to see and download it, as the problems you were experiencing may have been fixed now. Other than that maybe Sergey maybe able to help you over the weekend.

I am sorry i can't help you, i don't know the scripts workings only bits and pieces that i have come across over the past few months..

Nick Collins
07-03-2006, 10:09 AM
I already sent a PM to Nick with my credentials (FTP and script), but he always said to me that I was patient.
I haven't got any PMs from you, talle :(

talle
07-03-2006, 05:07 PM
:( If you can consult the old data base of the old forums you will be able to verify that we were in contact.

Nick Collins
07-04-2006, 06:09 AM
Yes, I have your credentials there, but I can't login to your ftp and admin CP using these credentials.

talle
07-04-2006, 12:06 PM
After as much time I already changed them by security. Of all ways I think that you don't need them to solve this question. I haven't modified any files that affect this function.:confused:

Nick Collins
07-05-2006, 05:40 AM
I haven't modified any files that affect this function.
It means that this problem is related with your server, as it works fine on our server. Anyway I can't say something without looking to your script.

talle
07-07-2006, 07:15 PM
Nick, I've made a change and now it works fine.
function moveLink($aLink, $aCategory, $aSendmail = false)
{
$sql = "UPDATE `{$this->mPrefix}links` ";
$sql .= "SET `id_category` = '{$aCategory}' ";
$sql .= "WHERE `id` = '{$aLink}'";
$link =& $this->getLinkById($aLink);
/** send email in case link email exist and option is enabled **/
$aSendmail = ($aSendmail || $this->mConfig['link_move']) ? true : false;
if ($link['email'] && $aSendmail)
{
$category = $this->getCategoryById($link['id_category']);
$this->mMailer->sendMail('link_move', $link, $category);
}
return $this->mDb->query($sql);
}


I've replaced
$category = $this->getCategoryById($link['id_category']);
by
$category = $this->getCategoryById($aCategory);