close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Everything was good ...until

Thread began 7/24/2011 2:16 pm by genelee2330761 | Last modified 7/26/2011 12:44 pm by Jason Byrnes | 2576 views | 7 replies |

genelee2330761

Everything was good ...until

I have been trying to get this site together all week and keep running into errors like this one.

This time I built the site step by step, testing everything at each major crossroads. Everything was fine as I built the pages from Security Assist then setup the Pages for Power CMS Builder but as soon as I setup the user levels and applied access rules to my protected pages I started getting errors when trying to access one of those pages (the rest of them seem to be fine) and when I try to log into the CMS Admin panel.

Here is the error I get when I try to access my protected page (downloads.php):

Fatal error: Cannot redeclare wa_authenticateuser() (previously declared in /homepages/46/d366494719/htdocs/webcom2/WA_SecurityAssist/Helper_PHP.php:8) in /homepages/46/d366494719/htdocs/webcom2/webassist/security_assist/helper_php.php on line 58

Here is the error I get when I try to access the CMS Admin panel:

Fatal error: Cannot redeclare wa_authenticateuser() (previously declared in /homepages/46/d366494719/htdocs/webcom2/webassist/security_assist/helper_php.php:28) in /homepages/46/d366494719/htdocs/webcom2/WA_SecurityAssist/Helper_PHP.php on line 46

Sign in to reply to this post

Ray BorduinWebAssist

Since powerCMS was built using a previous version of SecurityAssist they aren't perfectly compatible. However I can give you instructions on how to update powerCMS code to make it work properly. There are basically two steps:

1) do a search site wide and find and replace: WA_SecurityAssist/Helper_PHP with: webassist/security_assist/helper_php.php

2) Then you need to combine the two files:
WA_SecurityAssist/helpergroupsrulesphp.php and webassist/security_assist/helpergroupsrulesphp.php

into: webassist/security_assist/helpergroupsrulesphp.php

If you send me a copy of those two files I can help you combine them. Those two steps would basically update powerCMS to use the latest version of SecurityAssist so that they would be compatible.

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

genelee2330761

Hi Ray,

I'm a bit confused here. It looks like the 2 files you want me to combine in step 2 are the same name in the same location.

The other thing is that I did do a site wide search in a previous interation of this site for those files and changed everything but at that point I couldn't get into the CMS admin panel because it would no longer take my login/password.

Is this something that I need to be on the lookout for when I do site development? As long as I know how to handle conflicts like this when they come up it just becomes part of the regular debug cycle but at this point I'm still learning all the goodies in Power Suite.

Sign in to reply to this post

Ray BorduinWebAssist

I updated the file paths in my previous post. Combining those files will solve the login issue. I had copied and pasted and forgot to update the paths so that they were identical. Sorry for the confusion.

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

genelee2330761

Just got in and saw this. I'm sending the two files to you so I can see how you put them together then I should be able to do it if I need to again for another installation.

Thanks for all the help
Gene

Attached Files
security_assist.zip
Sign in to reply to this post

Ray BorduinWebAssist

OK, just copy lines 6-12 from HelperGroupsRulsePHP.php and paste them after line 33 of helpergroupsrulsephp.php

Attached Files
helpergroupsrulesphp.zip
Sign in to reply to this post
Did this help? Tips are appreciated...

genelee2330761

Still getting errors but they are different ones now.

This is the URL that is sent through when I ask to view the user registration page. I get an error in my browser saying that the page will not redirect properly. When I do a retry I get a further error that the URI is too long for the server.

"http://eugeneleedesigns.com/webcom2/html/registration.php?accesscheck=%2Fwebcom2%2Fhtml%2Fregistration.php%3Faccesscheck%3D%252Fwebcom2%252Fhtml%252Fregistration.php%253Faccesscheck%253D%25252Fwebcom2%25252Fhtml%25252Fregistration.php%25253Faccesscheck%25253D%2525252Fwebcom2%2525252Fhtml%2525252Fregistration.php%2525253Faccesscheck%2525253D%252525252Fwebcom2%252525252Fhtml%252525252Fregistration.php%252525253Faccesscheck%252525253D%25252525252Fwebcom2%25252525252Fhtml%25252525252Fregistration.php%25252525253Faccesscheck%25252525253D%2525252525252Fwebcom2%2525252525252Fhtml%2525252525252Fregistration.php%2525252525253Faccesscheck%2525252525253D%252525252525252Fwebcom2%252525252525252Fhtml%252525252525252Fregistration.php%252525252525253Faccesscheck%252525252525253D%25252525252525252Fwebcom2%25252525252525252Fhtml%25252525252525252Fregistration.php%25252525252525253Faccesscheck%25252525252525253D%2525252525252525252Fwebcom2%2525252525252525252Fhtml%2525252525252525252Fregistration.php%2525252525252525253Faccesscheck%2525252525252525253D%252525252525252525252Fwebcom2%252525252525252525252Fhtml%252525252525252525252Fregistration.php%252525252525252525253Faccesscheck%252525252525252525253D%25252525252525252525252Fwebcom2%25252525252525252525252Fhtml%25252525252525252525252Fregistration.php%25252525252525252525253Faccesscheck%25252525252525252525253D%2525252525252525252525252Fwebcom2%2525252525252525252525252Fhtml%2525252525252525252525252Fregistration.php%2525252525252525252525253Faccesscheck%2525252525252525252525253D%252525252525252525252525252Fwebcom2%252525252525252525252525252Fhtml%252525252525252525252525252Fregistration.php%252525252525252525252525253Faccesscheck%252525252525252525252525253D%25252525252525252525252525252Fwebcom2%25252525252525252525252525252Fhtml%25252525252525252525252525252Fregistration.php%25252525252525252525252525253Faccesscheck%25252525252525252525252525253D%2525252525252525252525252525252Fwebcom2%2525252525252525252525252525252Fhtml%2525252525252525252525252525252Fregistration.php%2525252525252525252525252525253Faccesscheck%2525252525252525252525252525253D%252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252Fhtml%252525252525252525252525252525252Fregistration.php%252525252525252525252525252525253Faccesscheck%252525252525252525252525252525253D%25252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252Fhtml%25252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525253D%2525252525252525252525252525252525252Fwebcom2%2525252525252525252525252525252525252Fhtml%2525252525252525252525252525252525252Fregistration.php%2525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525253D%252525252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252525252Fhtml%252525252525252525252525252525252525252Fregistration.php%252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525253D%25252525252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252525252Fhtml%25252525252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252Fwebcom2%2525252525252525252525252525252525252525252Fhtml%2525252525252525252525252525252525252525252Fregistration.php%2525252525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252525252525252Fhtml%252525252525252525252525252525252525252525252Fregistration.php%252525252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252525252525252Fhtml%25252525252525252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252Fwebcom2%2525252525252525252525252525252525252525252525252Fhtml%2525252525252525252525252525252525252525252525252Fregistration.php%2525252525252525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252525252525252525252Fhtml%252525252525252525252525252525252525252525252525252Fregistration.php%252525252525252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252525252525252525252Fhtml%25252525252525252525252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252Fwebcom2%2525252525252525252525252525252525252525252525252525252Fhtml%2525252525252525252525252525252525252525252525252525252Fregistration.php%2525252525252525252525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252525252525252525252525252Fhtml%252525252525252525252525252525252525252525252525252525252Fregistration.php%252525252525252525252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252525252525252525252525252Fhtml%25252525252525252525252525252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252Fwebcom2%2525252525252525252525252525252525252525252525252525252525252Fhtml%2525252525252525252525252525252525252525252525252525252525252Fregistration.php%2525252525252525252525252525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252525252525252525252525252525252Fhtml%252525252525252525252525252525252525252525252525252525252525252Fregistration.php%252525252525252525252525252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252525252525252525252525252525252Fhtml%25252525252525252525252525252525252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525252525252525252525252525252525253D%2525252525252525252525252525252525252525252525252525252525252525252Fwebcom2%2525252525252525252525252525252525252525252525252525252525252525252Fhtml%2525252525252525252525252525252525252525252525252525252525252525252Fregistration.php%2525252525252525252525252525252525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252525252525252525252525252525252525253D%252525252525252525252525252525252525252525252525252525252525252525252Fwebcom2%252525252525252525252525252525252525252525252525252525252525252525252Fhtml%252525252525252525252525252525252525252525252525252525252525252525252Fregistration.php%252525252525252525252525252525252525252525252525252525252525252525253Faccesscheck%252525252525252525252525252525252525252525252525252525252525252525253D%25252525252525252525252525252525252525252525252525252525252525252525252Fwebcom2%25252525252525252525252525252525252525252525252525252525252525252525252Fhtml%25252525252525252525252525252525252525252525252525252525252525252525252Fregistration.php%25252525252525252525252525252525252525252525252525252525252525252525253Faccesscheck%2525252525252525252525252525252"

Sign in to reply to this post

Jason ByrnesWebAssist

looks to me like there is a page access rule applied to the registration page, the access rule on the registration page, is set to go to a page that also has an access rule applied that is creating an endless loop.


double check the access rule applied to the registration page.

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