[Pro] Blank web page since upgrade 5.5 to 6.0.2

Hi there,

I have recently updated to a later version of Freeway Pro from Freeway 5.5 to Freeway 6.0.2

I opened and saved a file I created in Freeway 5.5 to 6.0.2 and now a page on the website is showing blank. It’s an updatable .php page with webyep innit code and all data is in the webyep folder. I haven’t made any changes to this page but for some reason since i’ve saved it as 6.0.2 t is now showing a blank page.

Any help as soon as possible would be extremely appreciated.

Thanks

Mog

http://www.makersbristol.co.uk/makers-events.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No idea why it’s happened, but just had a glance at the page code and there’s nothing there!

Are there items on the page in the Freeway document? It looks like a blank page has been published.

Trev

On 20 Aug 2013, at 13:59, mog wrote:

Hi there,

I have recently updated to a later version of Freeway Pro from Freeway 5.5 to Freeway 6.0.2

I opened and saved a file I created in Freeway 5.5 to 6.0.2 and now a page on the website is showing blank. It’s an updatable .php page with webyep innit code and all data is in the webyep folder. I haven’t made any changes to this page but for some reason since i’ve saved it as 6.0.2 t is now showing a blank page.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

A completely blank PHP page is a sign of two things. First, your host has error reporting turned off, and that earns them twenty gold stars for being security-minded. Great! And second, you have a fatal error in your page, likely a simple syntax error or similar.

Is the PHP something you coded yourself, and added to Freeway through an include or the Page / HTML Markup dialog? If so, find the very first line of code that you can, directly after the opening <?php delimiter, and paste in these two lines, which will temporarily turn on error reporting and crank the sensitivity level all the way up.

error_reporting(E_ALL);
ini_set('display_errors', true);

If you’re lucky or experienced, you will uncover the issue immediately after visiting this page in a browser once the updated code is in place.

Some errors occur at such a low level that they won’t even make it this far, and you still won’t see the error. In that case, you need to open the published PHP code in a debugger, such as the one built into TextMate (my weapon of choice for all hand-coding errands). In TM, the command is Shift-Control-V to run the validator. This will show you in a yellow tool-tip the precise line with the error, and an accurate (if cryptic) description of the error.

Once you find the error, and update your code on the server, be sure to either delete or comment out those two lines above. They provide a rich source of diagnostic information to anyone trying to hack your server.

Walter

On Aug 20, 2013, at 8:59 AM, mog wrote:

Hi there,

I have recently updated to a later version of Freeway Pro from Freeway 5.5 to Freeway 6.0.2

I opened and saved a file I created in Freeway 5.5 to 6.0.2 and now a page on the website is showing blank. It’s an updatable .php page with webyep innit code and all data is in the webyep folder. I haven’t made any changes to this page but for some reason since i’ve saved it as 6.0.2 t is now showing a blank page.

Any help as soon as possible would be extremely appreciated.

Thanks

Mog

http://www.makersbristol.co.uk/makers-events.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Trev,

Yes all the items are there and showing as they always were. I’ve tried re-publishing the entire site but this page just doesn’t seem to work. I’ve checked permissions which is set to 644. Data folder was set to 755 and just changed it to 77 but no luck and actually it should not make any difference as I have other php pages that are working with data set to 755. Very strange. I’m not sure what else could be causing the issue.

Thanks for your help

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I didn’t hand-code the page. I built it in Freeway and I haven’t made any changes to the page. The only chnage i have made is opening and saving it in Freeway 6.0.2

Where is the best place to add this code via Freeway?

Thanks

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Complete shot in the dark here Mog.

A few years ago I did a site which just refused to show, and it ended up that I’d copied and pasted directly from Microsoft Word into it rather than via a plain text editor. Copying out, making plain text and copying back in again fixed the issue. As I understand this shouldn’t happen in Freeway anymore, but just clutching at straws…

Trev

On 20 Aug 2013, at 14:11, mog wrote:

Hi Trev,

Yes all the items are there and showing as they always were. I’ve tried re-publishing the entire site but this page just doesn’t seem to work. I’ve checked permissions which is set to 644. Data folder was set to 755 and just changed it to 77 but no luck and actually it should not make any difference as I have other php pages that are working with data set to 755. Very strange. I’m not sure what else could be causing the issue.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you didn’t code the page, where did the PHP come from? Freeway won’t write that part for you, after all.

If you added the PHP code through the Page / HTML Markup, then that is where I would start looking. If you want, preview the page in question from Freeway to a text editor like TextMate or BBEdit or TextWrangler (free “little brother” of BBEdit). Copy the entire page code, and visit https://gist.github.com and paste the code there. When you press the save button, you will get a URL that will display that code without executing it. (When I visit the page as it is sent from your server, I don’t see the code that generated the error, only the blank output of a crashed program, so there’s nothing to diagnose. That’s actually good and secure, but useless if you’re trying to fix something.)

If you save your Gist as “Private” and send me the link off-list, I will be happy to see if there’s anything I can spot directly. If there aren’t any passwords in the code, then you may also want to paste the URL here, all by itself on a line in your post, so the automatic Gist-converter can do its magical thing and you can get the benefit of more eyes than mine alone.

Walter

On Aug 20, 2013, at 9:16 AM, mog wrote:

Hi Walter,

I didn’t hand-code the page. I built it in Freeway and I haven’t made any changes to the page. The only chnage i have made is opening and saving it in Freeway 6.0.2

Where is the best place to add this code via Freeway?

Thanks

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Trev,

Do you mean in the WYSIWYG editor? I can’t access that as the page is blank. It’s my client’s website which they update but I don’t think the page has gone blank from their updates. I think it is since i published the site from Freeway 6.0.2

I already tried copying the Freeway document items from this page, creating and pasting into a new page in Freeway and uploading the new file but the new file is also showing as blank. I’m sure it must have something to do with the upgrade to 6.0.2 but I don’t know what I can do to resolve it and not confident about adding the code.

Thanks again for your help.

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I haven’t hand-coded any php. The page is created using WebYep items and my client uses TinyMCE editor to update the website.

Thanks

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

In that case Mog, I’m at a loss, sorry, but have to say that I’ve had no problem with FW6 upgrades and WebYep.

Good luck - I’m following this with interest.

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I will check out Gist and be in touch.

Thanks again.

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Trev,

Thanks for your suggestions! I’m sure I’ll get there. It may be if I can’t resolve it from Freeway 6.0.2 that I use a backup and re-publish from 5.5. That’s hoping it will work from there again!

Best wishes

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Please follow these steps and one of us will be able to help you out here.

  1. First, make absolutely sure that you have followed Max’s excellent manual (the installation section) precisely, and installed the WebYep Action in your copy of Freeway 6. Freeway documents carry with them a cached copy of any Actions used in their creation, but this cache only works for simple Actions, not the more complex versions that rely on external files (or internal bundled files) to run. While you usually get a frank error when trying to publish from such a situation, you may not have, yet you will end up with less than you expect in the output code. Upload again after this step, as this may have fixed your entire problem right there.

  2. Second, download a copy of TextWrangler from http://barebones.com It’s free, and should be in every Web developer’s toolkit (unless you’ve already invested in something else). In Freeway, choose File / Preview in Browser / Browser Setup to open the editing dialog for the list of browsers. Add TextWrangler to this list as a browser. (Fun fact: any application which can read plain text can be added as a “browser” here.)

  3. In Freeway, navigate to this page and choose File / Preview in Browser / TextWrangler (or local equivalent).

  4. In your text editor, select all and Copy. In your browser, navigate to the Gist URL and Paste. Press save and copy the URL out of the browser, and either reply privately to me or to the list with that URL. There’s nothing earth-shatteringly private about a WebYep page code, if I recall correctly, but please look through the text before you send, and make sure there’s no password or license code in there that you don’t want to share with the 1.8 billion people who have access to this list through the Web.

Walter

On Aug 20, 2013, at 9:35 AM, mog wrote:

Hi Walter,

I haven’t hand-coded any php. The page is created using WebYep items and my client uses TinyMCE editor to update the website.

Thanks

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I’ve checked out Webyep set up and it should be fine as other WebYep pages are working fine. I forgot to mention that a few times when I opened the document in 6.0.2 and tried to publish the freeway document straight away I have been getting this error code since upgrading to 6.0.2

"Could not complete the ‘Publish Site’ command because file not found.

(-43:251:461)"

(even though I opened the file from Freeway which was in a folder with all the other freeway files)

However it does publish once I save the document and publish it again and then I can upload fine to Transmit.

I also want to check I have my actions set up properly.

I have my WebYep-3.4 purple folder in Freeway Pro / Actions / General folder / inside WebYep -3.4 folder I have WebYep-Actions.fwactionb (bundle) and that’s all. In my Freeway 5 I have a WebYep purple folder in General folder plus long list of separate actions in this same folder but none of these actions are showing in Freeway Pro folder.

I can send you a screenshot if that helps.

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

Would it be possible to email you the URL link for the gist?

Thanks

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I’ve just tested the page by deleting the WebYep elements and the page has re-appeared (but obviously without the updatable info)

I’m going to re-paste the items, upload and see what happens. If it goes blank again I’ll re-do the WebYep elements from scratch and see if that works.

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I managed to find the issue on this page. After trial and error deleting individual items on a test page, I found that the Loop Start and Loop End were interfering with the page being able to publish properly. Since I have added a completely new Loop Start and Loop End item the page is now showing up. I’m not sure why as nothing had been changed originally but there must be compatibility issues when upgrading a site from 5.5 and 6.0.2.

I’ve now found that the layout is impossible to make it as it was even when I have the exact same settings in the inspector. The images and text are now a bit all over the place.

see http://www.makersbristol.co.uk/makers-events.php

It should look more like this example

http://www.eightfivepress.co.uk/blog.php

The image TAG extended field doesn’t seem to be working now either as if the page is not publishing the styles I have set.

Thanks for your help

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I have now placed the Webyep Image and Rich text inside html items so at least the image and text are a bit more ordered but I would prefer to have the text wrapping around the image as it did before.

Although I had the settings in the inspector the same as 5.5 the text just got lost behind the image instead of wrapping around the image.

I had used the image TAG extend to float the image and create margins for in 5.5 but this also has stopped working since using 6.0.2.

I noticed on another website of mine which I upgraded to 6.0.2 that also the image TAG extend has stopped working and the images have moved out of place. I didn’t make any changes to the site, just upgraded and published from the new Freeway 6.0.2

If you have any tips that would be fab.

Thanks again for your help

Best wishes

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

I have sent you some emails directly. Could you let me know if you have received these?

Thanks

Best wishes

Mog


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options