PDA

View Full Version : eSyndiCat Patch 2.1.03 Released!


Simon Gooffin
03-31-2007, 10:38 AM
Greetings,

PLEASE FIRST OF ALL CREATE A BACKUP YOUR CURRENT VERSION

Another patch containing some improvements and bugfixes for eSyndiCat Pro 2.1 version can be now downloaded from our downloads area. Below you can see the full list of changes:

BUG fixes from the eSyndiCat v2.1.02

#1. admin/order-categories.php - 20 LIMIT of showed categories increased to 30 and pagination added
#2. view.inc.php - (minor fix) deleting // from the path also removing text_to_html modifier
#3. DirEditor.php, DirMailer.php - editor register notification
#4. admin/DirCategory.php - deleting sub category drops ROOT ALSO http://www.esyndicat.com/forum/about9599.html
#5. GreenLeaves , upgrade-link.php - show plan details (fix) (http://www.esyndicat.com/forum/about9622.html)
#6. login.php - more effective session destroy (this leads a fix for IE login bug)
#7. get_fields.php - measures against browser (IE) cache
#8. footer.php - table striping turned off for IE browser
#9. manage-database.php - 1 decorative change (in check consistency page) confirmation removed and {prefix} replaced with the table prefix.
ability to delete orphan links and categories created in check consistency
#10. admin/DirLink.php - removed bad comments (about 4KB) AND getLinks method is changed
#11. admin/top.php - manage imports showed if exist also http://www.esyndicat.com/forum/about9698.html
#12. Google Sitemap fix (http://www.esyndicat.com/forum/showthread.php?t=9408&highlight=google+sitemap)
#13. DirPage.php - query optimization in getMenus() method
#14. unnecessary fields droped (cron related: include data, include drop table, incl. tables structure)
#15. manage-links.php - HTML fix on line 686 and check for broken links
#16. manage-contacts.php - the is intact when replying(sending an email)
#17. util.php - Invalid pagination in new, top, random, popular when mod_rewrite is off unnecessary function (text_to_html) is removed Better reciprocal checking
#18. tell-friend.php, DirMailer.php - move to email template in database
#19. report-broken.php, DirMailer.php - move to email template in database
#20. admin/browse.php - html box is rendered incorrectly in IE also http://www.esyndicat.com/forum/about9599.html
#21. admin/configuration.php - html box is rendered incorrectly in IE
#22. edit-link.php - when trying to edit listing it redirects to other link (http://www.esyndicat.com/forum/about9622.html) also it is impossible to edit link when duplicate checking is turned on
#23. register.php - a small bug http://www.esyndicat.com/forum/about9419.html
#24. classes/admin/DirLinkfield.php, admin/manage-fields.php - http://www.esyndicat.com/forum/about8902.html
#25. DirMailer.php - http://www.esyndicat.com/forum/about9443.html
#26. admin/top.php, admin/util.php - box moving up and down fixed
#27. listings.php - synchronization caching with config
#28. DirLink.php - popular listings clicks issue
#29. error.php - $gDirSmarty->caching = true changed to $gDirSmarty->caching = CACHING;
#30. search.php - increased max length of keywords
#31. GreenLeaves/view-link.tpl - text_to_html modifier removed
#32. manage-pages.php - after updating the page \r\n are showed
#33. manage-language.php - new feature: add new language (by copying existing)
#34. manage-categories.php - adjust links count added in the current category also check all categories is work now
#35. admin/manage-banners.php - banners are resized only if it is needed (so animated gifs will work well)

SMART reciprocal checking (defense from the typo such as <a href=" www.domain.com">Domain</a> (extra space))

[ SQL queries patch3.sql ]
Tell friend text moved to the Configuration -> Email templates
Report broken link to the Configuration -> Email templates
SQL - BOTH mime type is removed

please contact us in case you have any problems

Simon Gooffin
03-31-2007, 10:39 AM
Installation is easy. Just reupload the files from upload directory and after that execute patch 3.sql file in manage database section.

msm
03-31-2007, 11:44 AM
Hi Simon,
just copied all files of the new patch in my directory but i do get this error message...


Warning: loadclass(c:\hosting\webhost4life\member\houdini98 7/esyndicat/includes/classes/DirDebug.php) [function.loadclass]: failed to open stream: No such file or directory in /home/www/wa3211/html/creditlink/includes/config.inc.php on line 44

Fatal error: loadclass() [function.require]: Failed opening required 'c:\hosting\webhost4life\member\houdini987/esyndicat/includes/classes/DirDebug.php' (include_path='.:/usr/share/php') in /home/www/wa3211/html/creditlink/includes/config.inc.php on line 44


can you help ???

Quote:"execute patch 3.sql file in manage database section"
Can you explain this more detailed please !?

regards,
Mike

Sergey Ten
03-31-2007, 12:11 PM
Hello Mike,

Try to reupload the includes/classes/DirDebug.php

msm
03-31-2007, 12:16 PM
did not work ;-(

in the patch 2.1.03 is no DirDepug.php enclosed, so when i delete my one on the server and reupload the file from my backup......nothing changes ;-(

any idea ?

Sergey Ten
03-31-2007, 12:54 PM
Mike,

Send me your FTP details via PM, I will try to fix that.

TurXaliM
03-31-2007, 02:05 PM
I get this error after the uploaded the files...

Warning: loadclass(c:\hosting\webhost4life\member\houdini98 7/esyndicat/includes/classes/DirDebug.php) [function.loadclass]: failed to open stream: No such file or directory in /home/txmeurot/public_html/includes/config.inc.php on line 44

Fatal error: loadclass() [function.require]: Failed opening required 'c:\hosting\webhost4life\member\houdini987/esyndicat/includes/classes/DirDebug.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/txmeurot/public_html/includes/config.inc.php on line 44

msm
03-31-2007, 02:09 PM
Same problem as with my directory.........hope Sergey can fix the bugg

TurXaliM
03-31-2007, 02:09 PM
in the
"includes/config.inc.php on line 44"

require_once(CLASSES.$name.".php");

jcocking
03-31-2007, 02:42 PM
I restored the config.inc.php from my backup and was able to get the software running.

Running the patch_3 I received the following error:

0: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1INSERT INTO `v21_config` VALUES( NULL, 4, 'links_admin_sorting', 'date', '''alp' at line 1

In the sql patch you are missing a ";" at the end of line 15.

Then received the following error:

0: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `{install:prefix}config` VALUES (NULL, 2, '', 'Tell friend page', ''' at line 1

removed the "install;" from patch_3 and now am receiving the following error:

0: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `v21_config` VALUES (NULL, 2, '', 'Tell friend page', '', 'divider',' at line 1

Added a ";" at the end of line 18.

Received a "upgrade complete"

To summarize:

In the patch_3 file I had to make the following changes for it to work:
1. add a ";" at the end of line 15
2. add a ";" at the end of line 18
2. Removed the "install:" from line 20 - before {install:prefix} after {prefix}

jeff

Sergey Ten
03-31-2007, 02:53 PM
Hi all,

If you have a backup your directory just restore the includes/config.inc.php

TurXaliM
03-31-2007, 03:04 PM
if no?
How i will done the changes?

Sergey Ten
03-31-2007, 03:18 PM
@all

If anyone is experiencing such problem, please PM or email me. Don't forget to include the following details:

#1 FTP details:
Domain name
Username
Password

#2 Cpanel
Username
Password

#3 MySQL details
Database name
Database username
Database password

email: sten at esyndicat dot com

Thanks.

TurXaliM
03-31-2007, 04:27 PM
TurXaliM ,

I have fixed your problem, please check that.Thank you very much. You are really Number One! :good:



Installation is easy. Just reupload the files from upload directory and after that execute patch 3.sql file in manage database section.But i don't know this instruction :( How i will executer? And when i click on IMPORT, i can't anything for import...

Sergey Ten
03-31-2007, 04:35 PM
TurXaliM,

First of all download a patch again:
http://www.esyndicat.com/downloads/patch_2.1.03.zip

After please read this instruction:
http://www.esyndicat.com/forum/about8624.html

TurXaliM
03-31-2007, 04:45 PM
When i click import, it don't appear anything...

msm
03-31-2007, 05:13 PM
Thx Sergey for your help !!!

Sergey Ten
03-31-2007, 05:23 PM
TurXaliM,

I have executed patch_3.sql.

Sergey Ten
03-31-2007, 05:24 PM
Thx Sergey for your help !!!

You are welcome Mike :)

shelly
03-31-2007, 05:40 PM
Hi Since uploading the new patch3

I have noticed that the url of my featured listings has changed

It was like this

http://www.mysite.com/listings/Property/Villas/Test1-l3.html

and now it appears like this

http://www.mysite.com/listings//Test1-l3.html

and obviously I get a 404 error message

As you can see the category and sub category are not showing

which of the new patch files may of caused this please?


Thanks Shelly

Sergey Ten
03-31-2007, 05:53 PM
Hello Shelly,

Send me your FTP details and I will check that. Thanks.

shelly
03-31-2007, 05:58 PM
Sorry Sergey

I feel such a fool:rolleyes:

It's my fault I had a mod I had forgotten about (enhanced Featured Listings)

which involved DirLink and Footer

It is now fixed

thanks for your reply though

Shelly

jcocking
03-31-2007, 06:04 PM
This patch does not have the reciprocal link checking corrected as per forum entry http://www.esyndicat.com/forum/about9212.html

Can we get this added to one of the upcoming patches. It is frustrating to carry a manual fix through two patch releases.

jeff

shelly
03-31-2007, 06:19 PM
Hi

I have uploaded the complete patch3

except for the GreenLeaves template/ footer and view-link

Do I need these?

I have various mods and do not wish to have to do them again

If you reccomend that I do need these 2 files

then could you just supply just the code changes for each please?

Thanks

Shelly

Dave Baker
03-31-2007, 06:52 PM
Hi shelly,
***Open footer.tpl and find code:***

<!-- footer page start -->
<div class="bottom">
{foreach from=$menus item=menu_item name=bottom_menus}

{in_array_exist def=2 values=$menu_item.menus}
{if $result_valid}
{assign var="inc" value=$inc+1}
{if $inc eq $menu_item.num_bottom}

***Replace with***

<!-- footer page start -->
<div class="bottom">
{foreach from=$menus item=menu_item}

{in_array_exist def=2 values=$menu_item.menus}
{if $result_valid}
{assign var="inc" value=$inc+1}
{if $inc eq $menus.num_bottom}

***In this file find code:***

<script type="text/javascript">
//<[!CDATA[
$("input[@type=radio].poll_option").click(function() {
var option_id;

***Replace with***

<script type="text/javascript">
//<[!CDATA[
$("ul li input.poll_option").click(function() {
var option_id;

***Save changes***
***Open view-link.tpl and find code:***

{if $config.link_rating}
{include file="box-header.tpl" caption=$lang.rating style="green"}
{if $link.num_votes}
<table cellpadding="3" cellspacing="0">
<tr>
<td>{$lang.rating_num}</td>
<td width="150">{$link.num_votes}</td>
</tr>
<tr>
<td>{$lang.rating}</td>
<td>{if $link.rating}{print_stars value=$link.rating|string_format:"%.1f"}{else}0{/if} </td>
</tr>

</tr>
{if $config.link_comments}
<tr>
<td>{$lang.comments}</td>
<td>{$link.comments}</td>
</tr>
{/if}
</table>
{else}
{$lang.not_rated}
{/if}
<form method="post" style="margin-top: 10px;">
<select name="rating">
<option value="">Site rank</option>
{section name=rating loop=$config.link_rating_max+1 start=1 max=$config.link_rating_max}
<option value="{$smarty.section.rating.index}" {if $smarty.post.rating eq $smarty.section.rating.index}selected="selected"{/if}>{$smarty.section.rating.index}</option>
{/section}
</select>
<input type="submit" name="rate" value="{$lang.rate_link}" />
</form>
{include file="box-footer.tpl"}
{/if}

{if $config.link_comments}
{include file="box-header.tpl" caption=$lang.comments style="green"}
{if $comments}
{foreach from=$comments item=comment}
<div class="comment">
{if $config.esc_codes}
{text_to_html aText=$comment.body aParagraph=true}
{else}
{$comment.body|escape:"html"}
{/if}
</div>
<div class="posted">{$lang.posted}{$comment.date|date_format:$config.d ate_format} by {$comment.author|escape:"html"}</div>
{/foreach}
<hr />
{/if}
<form action="" method="post">
<table cellpadding="2" cellspacing="0">

***Replace with***

{if $config.link_rating}
{include file="box-header.tpl" caption=$lang.rating style="green"}
{if $link.num_votes}
<table cellpadding="3" cellspacing="0">
<tr>
<td>{$lang.rating_num}</td>
<td width="150">{$link.num_votes}</td>
</tr>
<tr>
<td>{$lang.rating}</td>
<td>{if $link.rating}{print_stars value=$link.rating|string_format:"%.1f"}{else}0{/if} </td>
</tr>
{if $config.link_comments}
<tr>
<td>{$lang.comments}</td>
<td>{$link.comments}</td>
</tr>
{/if}
</table>
{else}
{$lang.not_rated}
{/if}
<form method="post" style="margin-top: 10px;">
<select name="rating">
<option value="">Site rank</option>
{section name=rating loop=$config.link_rating_max+1 start=1 max=$config.link_rating_max}
<option value="{$smarty.section.rating.index}" {if $smarty.post.rating eq $smarty.section.rating.index}selected="selected"{/if}>{$smarty.section.rating.index}</option>
{/section}
</select>
<input type="submit" name="rate" value="{$lang.rate_link}" />
</form>
{include file="box-footer.tpl"}
{/if}

{if $config.link_comments}
{include file="box-header.tpl" caption=$lang.comments style="green"}
{if $comments}
{foreach from=$comments item=comment}
<div class="comment">
{$comment.body|escape:"html"}
</div>
<div class="posted">{$lang.posted}{$comment.date|date_format:$config.d ate_format} by {$comment.author|escape:"html"}</div>
{/foreach}
<hr />
{/if}
<form action="" method="post">
<table cellpadding="2" cellspacing="0">

***Save change***

Sergey Ten
03-31-2007, 06:56 PM
Shelly.

I have investigated both files.

VEIW-LINK.TPL

PATCH 2.1.02
Line 102


</tr>


PATCH 2.1.03
It line was been removed.

PATCH 2.1.02

<div class="comment">
{$comment.body|escape:"html"}
</div>


PATCH 2.1.03

<div class="comment">
{if $config.esc_codes}
{text_to_html aText=$comment.body aParagraph=true}
{else}
{$comment.body|escape:"html"}
{/if}
</div>



FOOTER.TPL

PATCH 2.1.02

{foreach from=$menus item=menu_item name=bottom_menus}


PATCH 2.1.03

{foreach from=$menus item=menu_item}



PATCH 2.1.02

{if $inc eq $menu_item.num_bottom}


PATCH 2.1.03

{if $inc eq $menus.num_bottom}


PATCH 2.1.02

$("input[@type=radio].poll_option").click(function() {


PATCH 2.1.03

$("ul li input.poll_option").click(function() {

shelly
03-31-2007, 07:46 PM
Many Thanks Guys

for such a quick reply:good:

Shelly

Sergey Ten
03-31-2007, 08:25 PM
You are welcome Shelly :)

wsmith8
03-31-2007, 10:06 PM
Hi,

Before I download the 2.1.03 patch can someone tell me if the discussed bugs in the patch 2.1.03 been fixed in the now down loadable patch?

Or do the same bugs still exist in the down loadable 2.1.03 patch?

Thanks

Dave Baker
03-31-2007, 10:25 PM
Hello wsmith8,
The discussed bugs in the patch2.1.03 have been fixed. They do not exist in the downloadable 2.1.03 patch.

TurXaliM
03-31-2007, 10:41 PM
TurXaliM,

I have executed patch_3.sql.Thank you very much :good:

tsands
03-31-2007, 11:04 PM
I'm getting this error:

Warning: loadclass(/usr/local/www/data/includes/classes/DirDebug.php) [function.loadclass]: failed to open stream: No such file or directory in /home/mysite.com/includes/config.inc.php on line 67

Fatal error: loadclass() [function.require]: Failed opening required '/usr/local/www/data/includes/classes/DirDebug.php' (include_path='.:/usr/local/share/pear') in /home/mysite.com/includes/config.inc.php on line 67

Sergey Ten
03-31-2007, 11:41 PM
Hello tsands,

Please send me the following information via PM

#1 FTP details:
Domain name
Username
Password

#2 Cpanel
Username
Password

#3 MySQL details
Database name
Database username
Database password

Thanks.

ibs
04-01-2007, 12:03 AM
Thank you guys i upgraded successfully with all MAJOR Mods and some minor ones too. Thanks alot support Team...

TurXaliM
04-01-2007, 01:30 AM
Hi shelly,
***Open footer.tpl and find code:***
[code]
<!-- footer page start -->
<div class="bottom">
{foreach from=$menus item=menu_item name=bottom_menus}

...etc...

***Save change***This instruction For "Ocean_BLUE_PINK" also?

Sergey Ten
04-01-2007, 01:33 AM
TurXaliM,

No it is for Green Leaves template.

Simon Gooffin
04-02-2007, 05:51 AM
Thread is closed. If anyone has issues with patch - please post to appropriate forums.