

pdcelec
-
Content count
594 -
Joined
-
Last visited
-
Days Won
3
Posts posted by pdcelec
-
-
I have ran out of pm's.
The new admin/categories.php is fine now, no errors
I have found this error when clicking add new product
Notice: Undefined property: objectInfo::$products_master in /home/xxxx/public_html/admin/categories.php on line 872
-
Thanks. Edited.
I uploaded Beta release.
I have ran out of pm's.
The new admin/categories.php is fine now, no errors
-
catalog/products_new.php contains the old style buttons
<!--Master Products //-->
<?php if ($products_new['products_master_status'] != '1' && $products_new['products_master'] =='0') {
?>
<td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td>
<?php
} elseif ($products_new['products_master'] != '0') {
?>
<td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_master']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td>
<?php
} else {
?>
<td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td>
<?php
}
?>
<!--Master Products EOF //-->
-
Yes, you're correct. The following is untested but I think it will fix that problem. In links.php, find
// links breadcrumb $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LINKS, '', 'NONSSL')); if ($parentID > 0) { $pathStr = explode(" > ", tep_output_generated_link_category_path($parentID)); $pathStr = array_reverse($pathStr); for ($i = 0; $i < count($pathStr); ++$i) { $breadcrumb->add($pathStr[$i], FILENAME_LINKS . '?parentID=' . tep_get_category_id($pathStr[$i])); } }
and replace it with
// links breadcrumb if ($parentID > 0) { $pathStr = explode(" > ", tep_output_generated_link_category_path($parentID)); $pathStr = array_reverse($pathStr); $pathIDS = (array_flip($pathStr)); for ($i = 0; $i < count($pathStr); ++$i) { $breadcrumb->add($pathStr[$i], tep_href_link(FILENAME_LINKS, 'lPath=' . ($pathIDS[$pathStr[$i]]) . '_' . tep_get_category_id($pathStr[$i]))); } } else { $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LINKS, '', 'NONSSL')); }
Not quite. This is what I get now
http://wwwdotelectricalcity.co.uk/links.php http://www.electricalcity.co.uk/electronics-links-0_2.html http://www.electricalcity.co.uk/electronics-suppliers-links-2_4.html ( breadcrumb hover http://www.electricalcity.co.uk/electronics-suppliers-links-1_4.html) breadcrumb reads Home » Store » ElectronicsElectronics Suppliers Clicking back gives http://www.electricalcity.co.uk/electronics-links-2.html
-
So if I understood correctly,
I have to find the "complete package" and then download afterwards all other files which are fixes.
Very confusing.
Too bad that there isn't an owner in every plugin that will gather all contributions and generate a complete package each time.
Thanks for the reply
Owners and authors can come and go. Contributions can get taken over by more competent programmers. There are many reasons that this can happen. It is up to the community (i.e. me and you ) if you think that something can be improved, then improve it. There are contributions, where someone has done what you suggested and updated the contribution with the full package with the alterations built in. The fun of open source
-
When I am here
http://wwwdotelectricalcity.co.uk/electronics-links-0_2.html
and hover over the breadcrumb, the breadcrumb reads
http://wwwdotelectricalcity.co.uk/links.php?parent_id=
I believe that these are related to the last post regarding the parent id
-
Mail sent.
I am about to install the test package. I have compared the files to the original and there appears to be a file missing. catalog/includes/modules/master_products.php.
Is this correct?
-
Hi
I have an issue with the urls when navigating through the links.
Going forward, I get
http://wwwdotelectricalcity.co.uk/links.php http://wwwdotelectricalcity.co.uk/electronics-links-0_2.html http://wwwdotelectricalcity.co.uk/electronics-suppliers-links-2_4.html BUT when I click the back button, I get http://wwwdotelectricalcity.co.uk/electronics-links-2.html http://wwwdotelectricalcity.co.uk/links.php
I thought that it may have been my site but your website does the same
-
Hi,
I started to rebuild Master Product V1.25 to oscommerce V2.3x. Does somebody like to pre-test release?
I've just working on suggested accessories finalising.
Sent you a pm with my email address. This could be just what I am looking for. I sell electrical components such as fuses, so a master could be assigned, then all of the current ratings be slaves.
-
Notice: Undefined variable: products_id in /home/******/public_html/****/categories.php on line 248
Notice: Undefined variable: products_id in /home/*******/public_html/****/categories.php on line 267
Notice: Undefined variable: products_id in /home/*******/public_html/****/categories.php on line 311
Notice: Undefined variable: products_id in /home/******/public_html/****/categories.php on line 332
Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/****/categories.php:248) in /home/****/public_html/****/includes/functions/general.php on line 34
have a look in home/****/public_html/****/includes/functions/general.php and delete the blank line from the top or bottom of the file
-
should read v2.3 not 2.13
-
Hi, I have installed epf 2.13 and everything functions correctly however, I am getting the following errors in my log.
Thanks
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Date / Time: 18-12-2010 12:24:58
Error Type: [E_NOTICE] Undefined variable: epf
On line 193
File index.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Date / Time: 18-12-2010 12:24:58
Error Type: [E_WARNING] Invalid argument supplied for foreach()
On line 193
File index.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
192 $restrict_by = '';
193 foreach ($epf as $e) {
194 if ($e['restrict']) {
195 if (isset($_GET[$e['field']]) && is_numeric($_GET[$e['field']])) {
196 $restrict_by .= ' and (pd.' . $e['field'] . ' in (' . (int)$_GET[$e['field']] .
197 tep_list_epf_children($_GET[$e['field']]) . '))';
}
-
I have found another issue with Links 1.28.
Going forward I get
http://www dotelectricalcity.co.uk/links.php
http://www dotelectricalcity.co.uk/electronics-links-0_2.html
http://www dotelectricalcity.co.uk/electronics-suppliers-links-2_4.html
but then going back, it becomes
http://www dotelectricalcity.co.uk/electronics-links-2.html
http://www dotelectricalcity.co.uk/links.php
Can you recommend which version of Links manager to use and I will replace this version
-
Ok Paul . .then tell him he's written his script badly .. not much I can do about it.
Nothing to do with USU5 PRO.
I agree with you, your code is always much cleaner. I was just pointing out what I found.
-
I appreciate you beta testing and I appreciate you bringing the issue to my notice.
A contribution can try and be "compatible" with other contributions but if those contributions are developed badly and change key factors on a version by version basis then there's nothing to be done.
This does not seem to be the case in this instance, I cannot see any instance of a querystring key parentID in the install instructions for the version you mention .. and I quote again ..
I have just downloaded it again from http://addons.oscommerce.com/info/5272 and the breadcrumb in catalog/links.php does have
$breadcrumb->add($pathStr[$i], FILENAME_LINKS . '?parentID=' . tep_get_category_id($pathStr[$i]));
}
}
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
Is this the version to which you are referring?
-
I was beta testing the contribution, and I thought that as support was added for other contributions, that I would report compatibility issues with other contributions. Links.php in version 1.28 uses $parentID and as such, USU5 is not compatible, without either a modification in links.php or USU5.
-
Hello,
I apologize if this question has been asked before. I've installed OsCommerce and then uploaded a template to change the theme. The issue I'm facing is that the front end, doesn't link to the back end. When I look at the back end I've still got the default categories of the basic install. I am very new to this, and doing this site for my god daughter who's trying to get her business going. My field is more in Infrastructure and security, not development or this stuff. I'd really appreciate some help.
The template will only change the visual appearance of the site, not the functionality or products.
-
Changing it top this seems to do the trick
$breadcrumb->add($pathStr[$i], tep_href_link(FILENAME_LINKS, 'lPath=' . $_GET['lPath'] . tep_get_category_id($pathStr[$i]), 'NONSSL'));
-
regarding the information box: My pages stay the same. I am considering removing the info pages contrib and just having static pages as I dont really see a benefit to them. All I see is additional server load. Yes the cache was reset. I have another question about the cache. Is it best to use the osC cache as well as the KISSMt cache and USU5 cache or leave the standard one off?
-
This is the code as taken from Links Manager 1.28 links.php http://addons.oscommerce.com/info/5272
{
$breadcrumb->add($pathStr[$i], FILENAME_LINKS . '?parentID=' . tep_get_category_id($pathStr[$i]));
}
}
?>
On the download pages, Jack has wrote
- Changed code so that the breadcrumb link has the session ID attached.
-
regarding the information box: My pages stay the same. I am considering removing the info pages contrib and just having static pages as I dont really see a benefit to them. All I see is additional server load. Yes the cache was reset.
-
I am having a possible issue with links.php with the breadcrumb
When I am here
http: //www.electricalcitydotco.uk/electronics-suppliers-links-2_4.html
and hover over the breadcrumb, I get
http: //www. electricalcitydotco.uk/links.php?parentID=4
When I am here
http: //www.electricalcitydotco.uk/electronics-links-0_2.html
and hover over the breadcrumb, I get
http: //www.electricalcitydotco.uk/links.php?parentID=
Here is the section of code taken from a view source
</div>
<div class="grid_24 ui-widget infoBoxContainer">
<div class="ui-widget-header infoBoxHeading"><ul id="breadcrumb"><li><a href="http://www.electricalcity.co.uk" class="headerNavigation">Top</a> » </li><li><a href="http://www.electricalcity.co.uk/" class="headerNavigation">Catalog</a> » </li><li><a href="http://www.electricalcity.co.uk/links.php" class="headerNavigation">Links</a> » </li><li><a href="links.php?parentID=" class="headerNavigation">Electronics<b</a> » </li><li><a href="links.php?parentID=4" class="headerNavigation">Electronics Suppliers</a></li></ul>
</div>
</div>
<div id="bodyContent" class="grid_16 push_4">
</a><h1>Links
</h1>
<div class="contentContainer">
<div class="contentText">
<h2>Below is our list of links for the <strong>Electronics Suppliers</strong> category.</h2>
Suppliers of electronic components</div>
-
Hi
I have a possible issue.
With performance reporting enabled, my site is showing queries for the information box on every page request. Should they not be cached?.
-
Hi
I have just found an issue with articles 1.57
article-submit.php
and
article-topics.php
Fatal error: Call to a member function retrieveDependencies() on a non-object in /home/electri3/public_html/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 298
I am guessing that it is the filenames being article-submit instead of article_submit and article-topics instead of article_topics
Master Products - MS2
in General Add-Ons Support
Posted
I think I have slave SEO url's. But I dont understand what it supposed to be happening with the products
http://www dot electricalcity.co.uk