Show Posts


Messages - abolabo

Pages: 1 ... 132 133 [134] 135 136 137
1996
Support / Re: System->logs->Error Logs Produces an error
« on: August 06, 2012, 09:35:20 AM »
hello

Quote
2012-08-05 7:58:12 - warning:  unlink(/home/randr/public_html/system/cache/cache.layout.pages.pagescontentcontent.contentid.2.1341937668) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>/home/randr/public_html/core/lib/cache.php</b> on line <b>36</b>
check permissions  system/cache folder for web-server user
Quote
2012-08-05 7:58:12 - warning:  fopen(/home/randr/public_html/system/cache/cache.store.5a5bb43ee90f8a06fc958c00723ea963.1344254292) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/home/randr/public_html/core/lib/cache.php</b> on line <b>80</b>
the same
Quote
2012-08-05 7:58:12 - App Warning:  Warning: Trying to access with unconfigured  domain. Possibly incorrect store set up. Loading default store in /home/randr/public_html/core/init.php on line 337
compare your site url and url in the cart settings


1997
General Support / Re: new upgrade removed no_image.jpg link
« on: August 06, 2012, 05:20:29 AM »
Hello.
Try to replace file /core/engine/resources.php
by attached file  and let me know.

1998
General Support / Re: new upgrade removed no_image.jpg link
« on: July 31, 2012, 04:46:35 PM »
Before I delete items from the system/cache I just want to make sure that it all comes back....

EDIT: I deleted the whole cache manually...and still the images dont show...this is getting stupid now

If you want to see what im on about please just go here: http://mylittlecrystalshop.com/ab/index.php?rt=product/category&path=4_24


EDIT2: I have just checked the directory for where the image is meant to be grabbed from and it says resources/image/::::
There are no images in that folder, apart from going into resources/image/18/6a(6b/6c/6d/6e etc.)
I think its just the grabbing of the image thats gone wrong somewhere...

your "resource" folder or images are not symlinks?
 i found code where is it..
core/engine/resources.php line 282

please put something there like this var_dump($resource); before "return"

i still can't to replicate your trouble on my localhost :(

1999
General Support / Re: new upgrade removed no_image.jpg link
« on: July 31, 2012, 11:05:31 AM »
Cleared cache via UI / no luck..

what about manual deleting? :)

2000
General Support / Re: Showing Length, Width, Height?
« on: July 31, 2012, 11:04:20 AM »
Thank you so much!

The actual writing on the product.tpl was a bit different...
Maybe you can help so if I change the measurement it automatically changes on the page aswell.

This is what Ive put in

Code: [Select]
<tr>
<td><b><?php echo "Length:"?></b></td>
<td><?php echo $product_info['length'] . "mm"?></td>
</tr>
<tr>
<td><b><?php echo "Width:"?></b></td>
<td><?php echo $product_info['width'] . "mm"?></td>
</tr>
<tr>
<td><b><?php echo "Height:"?></b></td>
<td><?php echo $product_info['height'] . "mm"?></td>
</tr>

As you can see Ive wrote . "mm"; ?>
How can I change that so if one of the measurements in is cm then it would change

MLCS, please look at my post above again.
I propose to change model and gets "length_class_name" from  $product_info array.
After that you need write
Code: [Select]
<?php echo $product_info['height'] . $product_info['length_class_name']; ?>

2001
General Support / Re: new upgrade removed no_image.jpg link
« on: July 31, 2012, 08:43:27 AM »
how you cleared, via UI or deleting files from system/cache directory? i need to know.

2002
hello.
sorry, i don't understand what's problem. ???
If you set -22 "$" in your's product option which have base price $200 after option choose you will have price $178
If +22 "$"     ->    $222

If -22 "%"     ->     $156
If +22 "%"    ->     $244


2003
General Support / Re: new upgrade removed no_image.jpg link
« on: July 30, 2012, 12:13:01 PM »
so, guys, what about cache?

2004
General Support / Re: Showing Length, Width, Height?
« on: July 30, 2012, 12:08:43 PM »
hi.
you can add something like this in your product.tpl file
Code: [Select]
<?php echo "width:".$product_info['width']; ?>
<?php echo "height:".$product_info['height']; ?>
<?php echo "length:".$product_info['length']; ?>

i see that we forgot to add length unit name in $product_info var. We'll add this into new version.
You can do this manually. Open file storefront/model/catalog/product.php method getProduct (29 line)
and  replace
Code: [Select]
$query = $this->db->query(
"SELECT DISTINCT *, pd.name AS name, m.name AS manufacturer, ss.name AS stock_status " .
$this->_sql_join_string() .
" WHERE p.product_id = '" . (int)$product_id . "'
AND p2s.store_id = '" . (int)$this->config->get('config_store_id') . "'
AND p.date_available <= NOW() AND p.status = '1'");
by this

Code: [Select]
$query = $this->db->query(
"SELECT DISTINCT *, pd.name AS name, m.name AS manufacturer, ss.name AS stock_status, lcd.unit as length_class_name " .
$this->_sql_join_string() .
"LEFT JOIN " . DB_PREFIX . "length_class_descriptions lcd
ON (p.length_class_id = lcd.length_class_id AND lcd.language_id = '" . (int)$this->config->get('storefront_language_id') . "')
WHERE p.product_id = '" . (int)$product_id . "'
AND p2s.store_id = '" . (int)$this->config->get('config_store_id') . "'
AND p.date_available <= NOW() AND p.status = '1'");
Thank you.

2005
Installation and Configuration / Re: Error During Install
« on: July 26, 2012, 03:21:59 AM »
try to connect to database from another software, for ex "Mysql Query".
it's not abantecart issue.

2006
General Support / Re: new upgrade removed no_image.jpg link
« on: July 25, 2012, 07:22:33 AM »
Is this the same issue as posted by MLCS?

i don't know yet. did you tried to clear cache directory?

2007
General Extensions / Re: Placing Asynchronous scripts globally
« on: July 24, 2012, 03:33:21 PM »
Though, I'm still a bit curious as to how you do this with scripts generated on the fly, as for various analytics platforms.....

Try to change page.tpl and add <?php echo $your_var_name; ?> before </body>
Also create hook on ControllerCommonPage and fill this var like this:
Code: [Select]
$this->baseObject->view->assign('your_var_name','<script type="text/javascript" src="'.$this->baseObject->templateResource('/javascript/global_scripts/myscript.js'.'"></script>';
Will it work for you?


2008
General Support / Re: new upgrade removed no_image.jpg link
« on: July 24, 2012, 01:33:22 PM »
or try to delete all files from system/cache directory manually

2009
General Support / Re: new upgrade made product tabs go weird
« on: July 24, 2012, 01:20:03 PM »
it is not upgrade related bug.
it's default template html-bug.
replace file storefront/view/default/template/pages/product/product.tpl by attached

2010
General Support / Re: new upgrade made product tabs go weird
« on: July 24, 2012, 12:58:03 PM »
in google chrome only?

Pages: 1 ... 132 133 [134] 135 136 137

Powered by SMFPacks Social Login Mod