Post by Budgetman » Sun Jul 19, 2015 5:18 pm

Hi Folks,

I am a total noob to php.
I am having an error in my purchased template from envato with support but recently support for the template ended - a bummer really as these templates are not even market ready.

Would appreciate if anyone here would could help on a blog module that came together with the template.

I just recently made some changes as facebook was picking up the wrong images. However, after the changes, the blog module had a problem because ($thumb || $images) in og:image cannot be found- a undefine variable showed up.

The Blog Module (with error on thum and image) can be found from the below link onwards.
http://budgetstation.com/index.php?route=blog/home

The solution looked simple but because of my limited php know-how, appreciate any help or advise from seniors here.
I don't mind contributing in any way possible including a small donation if anyone can help.

Thank you very much for reading.
Regards
Paul
Last edited by Budgetman on Tue Jul 21, 2015 4:54 pm, edited 2 times in total.

Newbie

Posts

Joined
Sun Jul 19, 2015 5:07 pm

Post by qahar » Mon Jul 20, 2015 8:29 am

It's hard to suggest if doesn't know how the code work.
But based on your issue $data['thumb] or $data['image] ismissing from your header controller

My suggest is you ask support from the theme or the blog developer

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by Budgetman » Tue Jul 21, 2015 4:32 pm

qahar wrote:It's hard to suggest if doesn't know how the code work.
But based on your issue $data['thumb] or $data['image] ismissing from your header controller

My suggest is you ask support from the theme or the blog developer
Hi qahar, thank you for reading. Envato have ended this product altogether.
There is no help from them and I am stuck with a irritating heading undefine variable. I am quite sure I need to add in a php condition in the blog module somewhere as the error only occurs there.

Cheers
Paul

Newbie

Posts

Joined
Sun Jul 19, 2015 5:07 pm

Post by Budgetman » Tue Jul 21, 2015 7:03 pm

Thanks to qahar for pointing out the controller. A hunch which lead to my followed up search.
I pour over the blog controller and found it loaded a array...blog/header. Changed it to load from "common/header "and the problem goes away.

Not the best solution but at least it work for now.
Envato - I will not buy from you anymore. This template is bearly a year old! if you are reading, your service sucks.

For people whom have the same error on a blog module add-on, hope you find this useful.

Paul.

Newbie

Posts

Joined
Sun Jul 19, 2015 5:07 pm
Who is online

Users browsing this forum: No registered users and 10 guests