OC 2.3.0.2
Yesterday I changed some text and images on my site. Today I noticed 19 error messages in the error log, all the same.
I've been RTFF trying to understand the meaning of the message, but I don't get it.
The message is: 2017-05-16 19:38:48 - PHP Notice: Undefined variable: placeholder in /storage/content/65/xxxxxx/mysite.com/public_html/vqmod/vqcache/vq2-system_storage_modification_admin_view_template_catalog_information_form.tpl on line 121
When I look at line 121 it looks like this: <div class="col-sm-10"><a href="" id="thumb-background-image" data-toggle="image" class="img-thumbnail"><img src="<?php echo $background_image; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a>
What does this message mean, and is there a way to solve it?
Can I delete the content of vqcache?
Thanks!
Yesterday I changed some text and images on my site. Today I noticed 19 error messages in the error log, all the same.
I've been RTFF trying to understand the meaning of the message, but I don't get it.
The message is: 2017-05-16 19:38:48 - PHP Notice: Undefined variable: placeholder in /storage/content/65/xxxxxx/mysite.com/public_html/vqmod/vqcache/vq2-system_storage_modification_admin_view_template_catalog_information_form.tpl on line 121
When I look at line 121 it looks like this: <div class="col-sm-10"><a href="" id="thumb-background-image" data-toggle="image" class="img-thumbnail"><img src="<?php echo $background_image; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a>
What does this message mean, and is there a way to solve it?
Can I delete the content of vqcache?
Thanks!
Last edited by Boppe on Wed May 24, 2017 7:33 pm, edited 1 time in total.
Well before you get too far into looking for this problem i would empty your vqmod/vqcache folder as this could be an old error that has already been fixed.
Then click refresh in extensions/modifications and try your site again.
If the error reappears then you will need to start looking into it.
Then click refresh in extensions/modifications and try your site again.
If the error reappears then you will need to start looking into it.
Thanks, cyclops12.cyclops12 wrote: ↑Fri May 19, 2017 12:30 amWell before you get too far into looking for this problem i would empty your vqmod/vqcache folder as this could be an old error that has already been fixed.
Then click refresh in extensions/modifications and try your site again.
If the error reappears then you will need to start looking into it.
I've emptied the vqcache and lets see if the error turns up again.
Yesterday I emptied vqmod/vqcache. Did a refresh.
This morning I worked with the site and the same error message appears in the error log a dozen of times this far:
2017-05-19 7:45:27 - PHP Notice: Undefined variable: placeholder in /storage/content/65/XXXXXXX/mysite.com/public_html/vqmod/vqcache/vq2-system_storage_modification_admin_view_template_catalog_information_form.tpl on line 121
I still can't figure out the meaning of the error message.
cyclops12 or anybody else have a clue about the error message?
This morning I worked with the site and the same error message appears in the error log a dozen of times this far:
2017-05-19 7:45:27 - PHP Notice: Undefined variable: placeholder in /storage/content/65/XXXXXXX/mysite.com/public_html/vqmod/vqcache/vq2-system_storage_modification_admin_view_template_catalog_information_form.tpl on line 121
I still can't figure out the meaning of the error message.
cyclops12 or anybody else have a clue about the error message?
In October last year i made a clean install of OC 2.3.0.2. I only installed vqmods working on version 2.3.0.2.
I've made no new install of vqmods the last 4 months and this error messages started just 2 days ago.
The error occurs when I edit the information pages.
OK, I've edit pages like Delivery Information, About us, Terms & Conditions and some other information pages.
I've made changes to text in Titles, Descriptions, Meta Tag Description.
After those changes the error message turns up.
To be more precise what I EXACTLY do to get the message.
I enter in a information file e.g Delivery Information and do a change in a text. It's enough I add one letter and the error message turns up:
PHP Notice: Undefined variable: placeholder in /storage/content/65/xxxxxx/mysite.com/public_html/vqmod/vqcache/vq2-system_storage_modification_admin_view_template_catalog_information_form.tpl on line 121
Sorry i cannot replicate the error when adding any information into the text fields in admin catalog information then editing Delivery Information.
I take it you are changing the texts in admin and not in the actual files ?
I take it you are changing the texts in admin and not in the actual files ?
Yes, that's right, text in the admin and not in the actual files. I've not been messing with codes, just added information.
Are you sure you have no mods installed that are altering the code of information_form.tpl as the above code is not default code in any information_form.tpl files as far as i can seeBoppe wrote: ↑Thu May 18, 2017 10:17 pmWhen I look at line 121 it looks like this: <div class="col-sm-10"><a href="" id="thumb-background-image" data-toggle="image" class="img-thumbnail"><img src="<?php echo $background_image; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a>
Thanks cyclops12 for helping out.cyclops12 wrote: ↑Sun May 21, 2017 11:21 pmAre you sure you have no mods installed that are altering the code of information_form.tpl as the above code is not default code in any information_form.tpl files as far as i can seeBoppe wrote: ↑Thu May 18, 2017 10:17 pmWhen I look at line 121 it looks like this: <div class="col-sm-10"><a href="" id="thumb-background-image" data-toggle="image" class="img-thumbnail"><img src="<?php echo $background_image; ?>" alt="" title="" data-placeholder="<?php echo $placeholder; ?>" /></a>
I have an extension called "Selected information pages, links in top menu-Many combinations."
https://www.opencart.com/index.php?rout ... n_id=17575
I don't know if this extension effects the information_form.tpl. I've tried, without success to get in contact with the developer.
I tried disabling this extension, made a small change in information (admin), but the same error message turned up.
Problem solved.
Nobody except cyclops12 were interested in helping out so propably nobody else might be interested to know what caused the error message? (Btw, in general it seems to be the norm in this forum that helping noobs are only interesting when there is a chance for the developer to sell his extensions.) Anyway, it might be helpful to other noobs, what caused the error message was a extension called Background Image Change. The developer of the extension fixed the problem so now that error is history.
Nobody except cyclops12 were interested in helping out so propably nobody else might be interested to know what caused the error message? (Btw, in general it seems to be the norm in this forum that helping noobs are only interesting when there is a chance for the developer to sell his extensions.) Anyway, it might be helpful to other noobs, what caused the error message was a extension called Background Image Change. The developer of the extension fixed the problem so now that error is history.
Who is online
Users browsing this forum: Amazon [Bot] and 17 guests