close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist error

Thread began 11/12/2018 8:46 am by general | Last modified 11/14/2018 1:26 pm by Ray Borduin | 100 views | 12 replies |

general

Security Assist error

Hi im getting this error while setting up a login page
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /home/sites/hopeafrica.co.uk/public_html/Connections/conn.php:9 Stack trace: #0 /home/sites/hopeafrica.co.uk/public_html/admin/index.php(5): require_once() #1 {main} thrown in /home/sites/hopeafrica.co.uk/public_html/Connections/conn.php on line 9

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you might be using a standard MySQL connection on a PHP7 site. You would need to use a MySQLi connection to work with PHP7.

Sign in to reply to this post

general

thanks for your reply, I was using a standard connection so i have changed it to MySQLi connection and I am now getting;

Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/sites/hopeafrica.co.uk/public_html/webassist/security_assist/helpergroupsrulesphp.php on line 8

Sign in to reply to this post

Ray BorduinWebAssist

Please attach the page referenced in the error and I can take a look to see what is wrong.

Sign in to reply to this post

general

thank you

Attached Files
helpergroupsrulesphp.php
index.php
Sign in to reply to this post

Ray BorduinWebAssist

I'm not quite sure how that file got to that state. Have you installed the latest version of Databridge V2? I've tried running the wizard and running the server behavior separately and my helpergroupsrulesphp.php file seems to be created properly.

Maybe it has something to do with running it for MySQL and then MySQLi and the file didn't get updated properly. I've fixed the file and attached it, so you can replace it manually, but I'd love to figure out what happened that caused it to prevent it from happening again if you could let me know everything you did and confirm the version of DataBridge you have installed that might help me track down the cause.

Attached Files
helpergroupsrulesphp.php
Sign in to reply to this post

general

Hi Thanks for that, i am using data bridge 2.3.0, mysqli server behaviors 1.0.5, i deleted everything and started from scratch when you suggested i was connecting with a standard connection i added
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
so i can see errors and made sure i am running php 7 i am now getting another error;

Warning: require(phpmailer/src/OAuth.php): failed to open stream: No such file or directory in /home/sites/hopeafrica.co.uk/public_html/webassist/email/WA_Email.php on line 9 Warning: require(phpmailer/src/OAuth.php): failed to open stream: No such file or directory in /home/sites/hopeafrica.co.uk/public_html/webassist/email/WA_Email.php on line 9 Fatal error: require(): Failed opening required 'phpmailer/src/OAuth.php' (include_path='.:/usr/share/pear72:/usr/share/php') in /home/sites/hopeafrica.co.uk/public_html/webassist/email/WA_Email.php on line 9

Sign in to reply to this post

Ray BorduinWebAssist

Did you upload the folder: webassist/email/phpmailer? It appears that may not be uploaded to the live server.

Sign in to reply to this post

general

yes i have just checked again but i made sure that everything is on the server

Sign in to reply to this post

Ray BorduinWebAssist

Here is a zipped version of the files... add them to your webassist/email folder and upload it to your site.

Attached Files
phpmailer.zip
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...