Re: Link Manager 3.0 Support Thread
Hi Clyde,
When I try to delete a category which has links in (in my case a 'Test Links' category I need to delete) via:
admin>extras>Link Categories>Select Category To Delete Here>Delete Button>"Are you sure you want to delete this link category? Test Links WARNING: There are 2 links still linked to this category!">Click Delete Button again... this page shows up completely blank: myadminurl/link_categories.php?action=delete_confirm . The error I'm getting via debug is:
[08-Oct-2010 16:50:58] PHP Fatal error: Cannot use object of type queryFactoryResult as array in /home/xxx/public_html/my_admin_name_here/link_categories.php on line 84
I'm using Links Manager v3.5.3c with Zen Cart v1.3.9g
Any ideas?
Thanks :smile:
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
gaffettape
Hi Clyde,
When I try to delete a category which has links in (in my case a 'Test Links' category I need to delete) via:
admin>extras>Link Categories>Select Category To Delete Here>Delete Button>"Are you sure you want to delete this link category? Test Links WARNING: There are 2 links still linked to this category!">Click Delete Button again... this page shows up completely blank: myadminurl/link_categories.php?action=delete_confirm . The error I'm getting via debug is:
[08-Oct-2010 16:50:58] PHP Fatal error: Cannot use object of type queryFactoryResult as array in /home/xxx/public_html/my_admin_name_here/link_categories.php on line 84
I'm using Links Manager v3.5.3c with Zen Cart v1.3.9g
Any ideas?
Thanks :smile:
Have you tried moving the 2 links to another category before deleting the category?
Re: Link Manager 3.0 Support Thread
Yep that worked. So for future reference, does that mean I can't delete a category if it has links in it - I have to either move or delete the individual links first?
Thanks.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
gaffettape
Yep that worked. So for future reference, does that mean I can't delete a category if it has links in it - I have to either move or delete the individual links first?
Thanks.
Until I can check and correct the problem you describe(d), Yes, that would be the way to go.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
Until I can check and correct the problem you describe(d), Yes, that would be the way to go.
Ok thanks for your help Clyde.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
add the url to your new page under the "view all links" section.
Hi Clyde,
I tried to add this link to my links sidebox and the side box disappeared.
if (BOX_DISPLAY_VIEW_ALL_LINKS == 'true') {
$content .= '<br /><a href="http://www.Free-Link-Exchange.com' .(FILENAME_FREE_LINK_EXCHANGE, '', 'NONSSL') . '">' . BOX_INFORMATION_FREE_LINK_EXCHANGE . '</a>';
}
am I doing it right.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
weezee
Hi Clyde,
I tried to add this link to my links sidebox and the side box disappeared.
if (BOX_DISPLAY_VIEW_ALL_LINKS == 'true') {
$content .= '<br /><a href="http://www.Free-Link-Exchange.com' .(FILENAME_FREE_LINK_EXCHANGE, '', 'NONSSL') . '">' . BOX_INFORMATION_FREE_LINK_EXCHANGE . '</a>';
}
am I doing it right.
check your cache folder for any myDEBUG log files and see what (if any) error message are being generated.
Re: Link Manager 3.0 Support Thread
This is the error.
PHP Parse error: syntax error, unexpected ',' in /home/content/w/e/e/weezee/html/includes/templates/cherry_zen/sideboxes/tpl_links_select.php on line 22
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
weezee
This is the error.
PHP Parse error: syntax error, unexpected ',' in /home/content/w/e/e/weezee/html/includes/templates/cherry_zen/sideboxes/tpl_links_select.php on line 22
try this:
if (BOX_DISPLAY_VIEW_ALL_LINKS == 'true') {
$content .= '<br /><a href="' . (FILENAME_FREE_LINK_EXCHANGE, '', 'NONSSL') . '">' . BOX_INFORMATION_FREE_LINK_EXCHANGE . '</a>';
}
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
try this:
if (BOX_DISPLAY_VIEW_ALL_LINKS == 'true') {
$content .= '<br /><a href="' . (FILENAME_FREE_LINK_EXCHANGE, '', 'NONSSL') . '">' . BOX_INFORMATION_FREE_LINK_EXCHANGE . '</a>';
}
I tried it and I still get the same: PHP Parse error: syntax error, unexpected ',' in /home/content/w/e/e/weezee/html/includes/templates/cherry_zen/sideboxes/tpl_links_select.php on line 22
I tried this and now I am getting a PHP Parse error: syntax error, unexpected T_STRING
if (BOX_DISPLAY_FREE_LINK_EXCHANGE == 'true') {
$content .= '<br /><a href="http://www.Free-Link-Exchange.com . (FILENAME_FREE_LINK_EXCHANGE, 'NONSSL') . '">' . BOX_INFORMATION_FREE_LINK_EXCHANGE . '</a>';
}
I have tried so many different ways and nothing works.