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

PowerCMS and SA2

Thread began 6/11/2011 10:12 pm by npizzola365988 | Last modified 6/16/2011 10:08 am by Jason Byrnes | 1004 views | 5 replies |

npizzola365988

PowerCMS and SA2

I have installed Security Assist 2 on my website and when I went back to the CMS I get thie following error:

Fatal error: Cannot redeclare wa_authenticateuser() (previously declared in /var/www/clients/client16/web31/web/webassist/security_assist/helper_php.php:28) in /var/www/clients/client16/web31/web/WA_SecurityAssist/Helper_PHP.php on line 46


I commented out the require_once( "../WA_SecurityAssist/Helper_PHP.php" ); line in the \WA_CMS\WA_CMS.php file that I found on the forums and it still gives me the error.

Is there anything else I can do?

Sign in to reply to this post

Jason ByrnesWebAssist

there are two require once lines on the page for security assist, one to attach the:
WA_SecurityAssist/Helper_PHP.php

file, and another to attach the
webassist/security_assist/helper_php.php

one of those will need to be commented out, probably comment the one for the WA_SecurityAssist/Helper_PHP.php file

Sign in to reply to this post

npizzola365988

PowerCMS and SA2

Jason - Thank you for getting back to me.

I can't find another instance of the require_once command.

I've included the file with a zip extention to see if I'm missing anything.

Attached Files
WA_CMS.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the error is not occurring in the \WA_CMS\WA_CMS.php file.

it is occurring in the file you have open in the browser when the error occurs, that is the file that you should be looking for the 2 require once lines in.

Sign in to reply to this post

npizzola365988

Got it!

I found that I had to comment out the "webassist/security_assist/helper_php.php" instead of the "WA_SecurityAssist/Helper_PHP.php" and then things started working again. THANK YOU for setting me in the right direction.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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...