Anyone know what could be the problem? I am not getting support help for my issues with add-ons. Latest error message for SimpleBlog

Permalink
I never have any problems with the free add-ons, but I sure do have rotten luck with any I actually pay for. Gallery add-on gave me an error. I reported it, asked for help or a refund and got no response whatsoever. I gave up and called it a loss.

Now, SimpleBlog is giving me an error and ChadStrat (creator) gave me this support response:

"I think you could perhaps also ask yourself "why has no one else reported this?" lol

There is something clearly wrong with your (virtual server?) C5 install or template design.

all of these are theme errors of which have nothing to do with SimpleBlog I'm afraid.

Chad"

Here's the error I get when I try to Add Page from the blog page (where the simpleblog list is, exactly as shown in the video tutorial):

Warning: include(/usr/local/pem/vhosts/101866/webspace/httpdocs/themes/amygerber/view.php): failed to open stream: No such file or directory in /usr/local/pem/vhosts/101866/webspace/httpdocs/concrete/libraries/view.php on line 738 Warning: include(): Failed opening '/usr/local/pem/vhosts/101866/webspace/httpdocs/themes/amygerber/view.php' for inclusion (include_path='.:/usr/libexec/php5-cgi/share/pear:/usr/local/pem/vhosts/101866/webspace/httpdocs/libraries/3rdparty:/usr/local/pem/vhosts/101866/webspace/httpdocs/concrete/config/../libraries/3rdparty') in /usr/local/pem/vhosts/101866/webspace/httpdocs/concrete/libraries/view.php on line 738


I don't have a view.php file in my theme folder. I don't see why I should. My sites work off the following templates:

default.php
contact.php
services.php

etc.

Why is it looking for "view.php"? I thought the creator of the add-on should know since he created it.

I've tried this on 2 different sites located on 2 different servers with 2 different hosting companies. Same problem with both. Yet, both sites run perfectly fine otherwise.

Like I said, I never had a problem with a free add-on. (I also never had a problem with Tony's add-ons, btw. I should mention that).

I dragged a view.php from a different theme and stuck it in my theme directory just to see what would happen. Strangely, it did something-- I could see a blog post page partially created (just the comments section), but above and below were more error messages asking for view.php files in different locations.

Warning: View::include() [function.View-include]: Unable to access /vservers/arich15/htdocs/themes/wwwwalrich/elements/header.php in /vservers/arich15/htdocs/concrete/libraries/view.php on line 319

Warning: View::include(/vservers/arich15/htdocs/themes/wwwwalrich/elements/header.php) [function.View-include]: failed to open stream: No such file or directory in /vservers/arich15/htdocs/concrete/libraries/view.php on line 319

Warning: View::include() [function.include]: Failed opening '/vservers/arich15/htdocs/themes/wwwwalrich/elements/header.php' for inclusion (include_path='.:/php/includes:/vservers/arich15/htdocs/libraries/3rdparty:/vservers/arich15/htdocs/concrete/config/../libraries/3rdparty') in /vservers/arich15/htdocs/concrete/libraries/view.php on line 319


--------------------------------------
[ then there is the comments section ]
--------------------------------------


Warning: View::include() [function.View-include]: Unable to access /vservers/arich15/htdocs/themes/wwwwalrich/elements/footer.php in /vservers/arich15/htdocs/concrete/libraries/view.php on line 319

Warning: View::include(/vservers/arich15/htdocs/themes/wwwwalrich/elements/footer.php) [function.View-include]: failed to open stream: No such file or directory in /vservers/arich15/htdocs/concrete/libraries/view.php on line 319

Warning: View::include() [function.include]: Failed opening '/vservers/arich15/htdocs/themes/wwwwalrich/elements/footer.php' for inclusion (include_path='.:/php/includes:/vservers/arich15/htdocs/libraries/3rdparty:/vservers/arich15/htdocs/concrete/config/../libraries/3rdparty') in /vservers/arich15/htdocs/concrete/libraries/view.php on line 319

Any help? What could be wrong on 2 servers at 2 different hosting companies? Why is SimpleBlog looking for so many view.php's?

Both site seem to be running fine otherwise:

myhosting.com site:
http://www.amygerber.com

hosting.com site:
http://www.wal-rich.com

 
andrew replied on at Permalink Reply
andrew
It looks like your theme doesn't have a file named view.php in it. Themes require a file named view.php in them, with this line of code somewhere inside them:

<?php print $innerContent?>

Typically this is easily accomplished by grabbing default.php, duplicating it and naming the new file view.php, and removing one of the main content areas for the code I mentioned above. This should fix the issues above.
zoinks replied on at Permalink Reply
Awesome, you replied just as I was trying to simplify what I thought was going on here. Any idea why it's looking for header.php and footer.php in concrete/libraries?

I don't even use footer.php (maybe SimpleBlog does?)

THANK YOU for helping me! I have been keeping a text file of every problem and solution I find with detailed explanations for myself and I will be giving back to the C5 community by uploading it. In fact, I already linked it in my profile, but I have added a lot since then (and will put it on a proper site eventually)
zoinks replied on at Permalink Reply
You said:

"Typically this is easily accomplished by grabbing default.php, duplicating it and naming the new file view.php, and removing one of the main content areas for the code I mentioned above."


Q: A lot of my pages are slightly different based on what kind of content is going on the page... is this view.php file going to put my blog posts in whatever content area I place that little <?php print $innerContent ?> script? This could get tricky if different add-ons on different pages need to use this same view.php file based on how layouts change per page.
synlag replied on at Permalink Reply
synlag
view.php is used for single pages.

$innerContent represents the code that is located in a single page.

you can override existent page types from packages by copying them to your themes folder and activate them through dashboard->pages&themes->theme inspect

--ron
zoinks replied on at Permalink Reply
Thank you for your help. I had no idea that was possible and wasn't something I even considered.

The genius of the C5 team and the developers who make these add-ons never ceases to amaze me. Everything has been taken into account and it simply doable if you know how. But, oh how I wish that a super-genius would write an in-depth PDF covering everything.