Blocs & Pulse = Not displaying

Hi,

I followed the Vimeo tutorial to a T on how to create a Pulse theme inside Blocs.

After confirming a local install of Pulse with the demo site, everything runs & displays fine. However, when I overwrite the “content” and “template” folder with my Blocs-created theme, the entire site is a white screen.

I’ve edited config.php to ensure path is set properly, htaccess is present, r/w access and everything else in Diag.php checks out.

I’m stuck, can anyone help?

1 Like

Thanks for doing this :slight_smile:

I guess you are talking about Blocs app?

Was the demo site ok before you did the content and template overwrite?
If so, something went wrong in the Blocs template

Could you give a PM with some private access or put it online and send a link here? Probably a path error…?

Cheers

Thanks for the quick response, Michael. (Forgive me ignorance, but is it just me or is it hard to found out how to PM someone…!?)

Yes, Blocs App. Demo site was OK before overwrite.

I’m only setup locally as I wanted to give this a shot before I pulled the trigger on hosting. I’ve checked all files that contain some sort of path and I’m fairly certain everything is good (obviously I’m wrong.). Where should I start looking?

I’m running MAMP - I’ve tried placing Pulse directly in the HTDOCS folder, as well as creating a sub-directory (and accounting for that in config.php).

Did a little more digging here and elsewhere - I changed the MAMP/conf/apache/httpd.conf directory directive from “AllowOverride None” > “AllowOverride All”, but still a blank page.

@radical
mmm strange, i have the same configuration and works great, try this:
make the demo version of pulscms work again with a clean install in MAMP
then delete ( not overwrite) the complete folders content and template
then go to blocs and export you project again.
must work. just tried it like this

good luck

1 Like

Let us know how it goes @radical

To PM someone - just click on their name/profile and hit “message”

@sandy is the Blocs man! So follow his workflow and it should be ok :slight_smile:

@pulsecms I swear the message option wasn’t there!

@sandy Thanks for the input. I’m still getting a blank page after completing your suggestion.

Would it matter that I’m using Blocs trial? Version 2.3.1.

Could it be the .htaccess file?

RewriteEngine On
RewriteBase /

RewriteRule ^blog-page-([^-])$ ?page=$1&p=blog [L]
RewriteRule ^blog-([^-]
)+? ?d=$1&p=blog [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?p=$1 [L]

Adds SVG image support

AddType image/svg+xml svg svgz
AddEncoding gzip svgz

I’ve added error reporting to the index.php & config.php – nothing is coming back but a blank page.

error_reporting(-1);

Path from Config.php - Pulse is installed in root (htdocs)

$path = ’ '; // If installed in root, leave blank. If in “subfolder”, use “/subfolder”
$admin = ‘admin’; // Admin folder name
$password = ‘demo’; // Admin login
$autobackup = true; // Turn on/off auto-backup feature
date_default_timezone_set(‘America/New_York’); // More: https://php.net/manual/en/timezones.php
$language = ‘english’;

I’m at a loss, gentlemen.

@radical,
a trial of blocs is a full program only for 5 days, so that not the problem.
The htacces file is the standart file so OK, ( same withe me)

question, what happen if you just export from blocs to a normal project ( file, export, quick export)
then its just normal HTML site, open this in your browser, the site should work normal as you made it

does it?

Sure does.

I created a sample page with a logo and one item navigation bar. In the main content area, I created a PulseCMS blog block with a header and some text underneath.

strange, I just made the same,
pulse is running standart in MAMP, demo site works good
delete the content and template folder
went to blocs,
made my site like yours with one PulseBLOG in the top
file, export, export as pulscms and safe in the htdocs folder of MAMP
and get the standart 1 posting from blocs result in my browser.

Well, I guess I won’t be purchasing Blocs…

Any recommendations beyond Rapidweaver?

FOUND A FIX!

In index.php:

replace ob_end_clean();

with

if (ob_get_contents()) ob_end_clean();

1 Like

@radical great!!
I made 15 projects with Blocs and 4 of them in combination with PulseCMS, never had that kind of problems.
but I am happy that its solved for you, I hope you will enjoy Blocs as well!

2 Likes

@sandy Thanks for taking the time to help.

You, too, @pulsecms!

2 Likes