close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error on CMS index.php

Thread began 4/08/2012 11:56 am by elevy388997 | Last modified 4/12/2012 12:31 pm by Steve E | 1555 views | 4 replies |

elevy388997Beta Tester

Error on CMS index.php

I just uploaded all of my site files and I get this error on my cms index page (index.php):

Fatal error: Cannot redeclare WA_AuthenticateUser() (previously declared in /home/cts/public_html/webassist/security_assist/helper_php.php:28) in /home/cts/public_html/WA_SecurityAssist/Helper_PHP.php on line 46
Sign in to reply to this post

Jason ByrnesWebAssist

this is an issue using PowerCMS on security assist pages, see this post for details on fixing the problem:
showthread.php?t=15730

Sign in to reply to this post

Steve E

Same Problem

Hi Jason
I have a new build to do, I wasn't quite ready to upload the files but did so to test the registration system email functionality, which is all fine, I have the same problem as above only on my live server, I have tried commenting out the require once line in the CMS file this did not fix the problem for me,
I have imported the dB tables from my local server and rewritten the connection scripts,
I have noticed some entries in the dB tables that I think should be changed, but can't imagine they would be creating this problem.
In particular the session_varstable table, kfm_url, "http:\/\/localhost\/JMbuild\/webassist\/kfm\/index.php?\\C:\\xampp\\htdocs\\JMbuild\\webassist\\"
& in the session table, kfm_url, /JMbuild/webassist/kfm could you also please confirm the correct structure for these links, the first looks a little confusing?
I'm hoping that these maybe contributing to the problem.
Thanks in advance

Sign in to reply to this post

Jason ByrnesWebAssist

you do not need to change anything in the kfm_ tables, leave those as is.

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Steve E

Resolved

Thanks to the help of Ray the problem was resolved quickley and efficently, it appears that there is sometimes a problem when you run power cms and security asssist on the same site, it can cause a conflict with the helper files,
the simple fix was to let Dreamweaver do a sitewide search and replace for ..

FIND: '/WA_SecurityAssist/Helper_PHP.php'
REPLACE: '/webassist/security_assist/helper_php.php'

Then re-upload all files to the live server including the admin template as this is called for on line 46

This will now stop any conflicts and you can access your cms admin files.

As for the kfm path issue I mentioned, when importing tables from localhost to a live server, this was also a simple fix just delete all the the tables with the kfm_ prefix from the live server, when you first use the text editor in the cms it will automatically re create the tables.

I hope this helps anyone else who is facing a similar problem.

Thanks for the help guys :)

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