close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Google ProMaps - Does not work with PHP7.1

Thread began 1/29/2018 11:13 am by Steve | Last modified 1/29/2018 5:04 pm by Ray Borduin | 1580 views | 9 replies |

Steve

Google ProMaps - Does not work with PHP7.1

FYI Google ProMaps does not work with PHP 7.1

Had to move a site back to PHP 5.6 which does work but would prefer to use 7.1 since the rest of the site works fine with the new PHP version.

Sign in to reply to this post

Ray BorduinWebAssist

The code should be all javascript, so I can't imagine why it wouldn't work in php7. If you could give me a sample I could take a look and debug it.

Sign in to reply to this post
Did this help? Tips are appreciated...

Steve

Some screen shots that show this condition...

Sign in to reply to this post

Ray BorduinWebAssist

Can I get a url and FTP access to a non-working page? I don't think it is related to the php version, but I'd need to debug to find the cause.

Sign in to reply to this post
Did this help? Tips are appreciated...

Steve

FTP Credentials created

Sign in to reply to this post

Ray BorduinWebAssist

That page appears to be working. Do you have a link to a page that doesn't work that I can debug?

Sign in to reply to this post
Did this help? Tips are appreciated...

Steve

That's a tough one Ray as I need change the Mapping to PHP 7.2 which will cause the current page to also fail. I'll do so now and hope no one notices. Just let me know when we are clear to move back.

Sign in to reply to this post

Ray BorduinWebAssist

It is a strange issue where it isn't finding the file when referenced with an absolute path.

This wouldn't work:
<?php require_once("/webassist/google_javascript/wagmp_map_1.php"); ?>

but this does:
<?php require_once("webassist/google_javascript/wagmp_map_1.php"); ?>

I'm not sure why the absolute path works in other php versions but not this one.

Sign in to reply to this post
Did this help? Tips are appreciated...

Steve

Yes, it's a new condition I have found since moving to Windows Server 2016 from WS 2012. I've needed to have that trailing slash which could be required due to creating Friendly URLs.

What's odd is that I needed to add the leading slash to peg the file location to the root directory. In the case your referencing, it's only working when that is NOT the case. Very odd.

Thanks for taking the time to look at this Ray.

Sign in to reply to this post

Steve

Ray,
I found other pages in the same site that had issues related to root leve path references. I've found this is not needed in PHP 7.* even though it was needed in 5.6. Very odd but nice to know what was causing problems.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...