WebsiteBaker Support (2.12.x) > Modules

Bakery image missing

<< < (2/3) > >>

rumen:
Well, this is the "overview product loop" in "page settings"


--- Code: ---<td class="mod_bakery_main_td_f">
[THUMB]
<br />
<a href="[LINK]"><span class="mod_bakery_main_title_f">[TITLE]</span></a>
<br />
[DESCRIPTION]
<br />
[TXT_PRICE]: [CURRENCY] [PRICE]
<br />
[TXT_STOCK]: [STOCK]
<br />
<form action="[SHOP_URL]" method="post">
[OPTION]
<br />
<input type="text" name="item[ITEM_ID]" class="mod_bakery_main_input_f" value="1" size="2" />
<input type="submit" name="add_to_cart" class="mod_bakery_bt_add_f" value="[ADD_TO_CART]" />
</form>
</td>
--- End code ---

This is details "product details footer" in "page settings"


--- Code: ---[IMAGE]
<form action="[SHOP_URL]" method="post">
<table border="0" cellspacing="0" cellpadding="5" class="mod_bakery_item_table_f">
<tr>
<td colspan="2" align="left" valign="top"><h2 class="mod_bakery_item_title_f">[TITLE]</h2></td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_sku_f">[TXT_SKU]:</span></td>
<td align="left" valign="top">[SKU]</td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_price_f">[TXT_PRICE]:</span></td>
<td align="left" valign="top">[CURRENCY] [PRICE]</td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_shipping_f">[TXT_SHIPPING]:</span></td>
<td align="left" valign="top">[CURRENCY] [SHIPPING] </td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_stock_f">[TXT_STOCK]:</span></td>
<td align="left" valign="top">[STOCK]</td>
</tr>
<tr>       
<td align="left" valign="top"><span class="mod_bakery_item_full_desc_f"><p>[TXT_FULL_DESC]:</p></span></td>
<td align="left" valign="top">[FULL_DESC]</td>
</tr>
<tr>       
<td align="left" valign="top"><span class="mod_bakery_shipping_cost_f">[TXT_SHIPPING_COST]:</span></td>
<td align="left" valign="top">
[TXT_DOMESTIC]: [CURRENCY] [SHIPPING_DOMESTIC]<br />
[TXT_ABROAD]: [CURRENCY] [SHIPPING_ABROAD]</td>
</tr>
[OPTION]
<tr>     
<td align="left" valign="top"> </td>
<td align="left" valign="top">
<input type="text" name="item[ITEM_ID]"  class="mod_bakery_item_input_f" value="1" size="2" />
<input type="submit" name="add_to_cart" class="mod_bakery_bt_add_f" value="[ADD_TO_CART]" />
</td>
</tr>
</table>
</form>
[PREVIOUS] | <a href="[BACK]">[TXT_BACK]</a> | [NEXT]
</center>
<br />
--- End code ---


This is

rumen:

--- Quote from: dbs on February 19, 2025, 07:15:48 PM ---Hi, this is the link to the page. we need the url of the image (inside the link).
Can you post the real link to the page?

--- End quote ---

Sure they are


--- Code: ---https://agrado-m.com/media/bakery/thumbs/item7/test.jpg
--- End code ---

and


--- Code: ---https://agrado-m.com/media/bakery/images/item7/test.jpg
--- End code ---

sternchen8875:
is it possible, to give me access to this page (SuperAdmin to the Backend and FTP)? contact me via PN or email (uwe@jacobi22.com)
i'm sure, there is a problem with the image-placeholders in both files to display the content

rumen:
Hi,

you've got mail.Thanks!

sternchen8875:
difficult, my friend, very difficult

the files view_overview.php and in view_item.php has to load a config.php inside of the bakery folder, but it doesnt load this file. Content of this file are some settings for bakery like the name of the picture folder under /media. And if it dont include this setting, it will not show'n any pictures

i add now in view_overview.php and in view_item.php the hardcoded path in the top of every file and its works now, but there are a lot of other problems, the error.log had a size of 24 Mb - i delete it via FTP. Not possible for me to say, is it the old WB-Version (2.12.0) or is it PHP 7.4

Recommendation is of course a newer WB version, but if it is a WB 2.13.x, it needs at least PHP 8.0

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version