Support

Home Forums Custom Files View Cart Link going to Forbidden page

View Cart Link going to Forbidden page

Posted: July 5, 2012 at 2:02 pm

Viewing 9 reply threads


Jim Felder

    July 5, 2012 at 2:02 pm

    Forbidden
    You don’t have permission to access /wordpress/ on this server.

    http://www.ppok.org/wordpress/?page_id=543&regevent_action=show_shopping_cart

    I have recently changed my site to the root level of http://www.ppok.org and left wordpress in a subfolder. All is well so far except I found that this View Cart Link doesn’t work: http://www.ppok.org/wordpress/?page_id=543&regevent_action=show_shopping_cart

    I can’t find where to fix that.


    Josh

      July 5, 2012 at 2:16 pm

      When you changed the site to the root level, what process did you use?


      Jim Felder

        July 5, 2012 at 2:55 pm

        I changed the url in wp dashboard, then moved the index.php to root and changed the path in it to the sub level. I also changed the htaccess file.

        I just realized that I may need to change the path in the htaccess also. Right?
        this is it:

        # BEGIN s2Member GZIP exclusions
        
            RewriteEngine On
            RewriteBase /wordpress/
            RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+
            RewriteRule .* - [E=no-gzip:1]
        
        # END s2Member GZIP exclusions
        
        # BEGIN WordPress
        
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index\.php$ - [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /index.php [L]
        
        
        # END WordPress
        


        Jim Felder

          July 5, 2012 at 3:32 pm

          I changed the htaccess file and it didn’t fix it. Now I’m getting : Forbidden

          You don’t have permission to access /wordpress/ on this server.

          What file is it that still has the wordpress path in it? I fixed the index.php file in the root and the htaccess file seems to be correct. Can’t figure it out.


          Jim Felder

            July 5, 2012 at 3:35 pm

            This is what I see when I inspect the element:

            <a href="http://www.ppok.org/wordpress/?page_id=543&amp;regevent_action=add_event_to_cart&amp;event_id=10&amp;name_of_event=Membership Dues" title="Membership Dues">Add to Cart</a>
            

            What file do I change that has this cart link in it?


            Josh

              July 5, 2012 at 4:02 pm

              The file is pulling that path from the database, so it looks more to me like a database issue.

              Please see this guide on how to move WordPress: http://codex.wordpress.org/Moving_WordPress


              Jim Felder

                July 5, 2012 at 4:03 pm

                I didn’t move wordpress, I directed it to the root. is that the same thing?


                Josh

                  July 5, 2012 at 4:20 pm

                  No, but this guide might be a better fit:
                  http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install


                  Jim Felder

                    July 5, 2012 at 4:31 pm

                    OK, it said to copy not move the index.php file. I copied it back to the sub wordpress folder and edited the path back to wordpress/xxx.

                    by the way Josh, I truly appreciate your help all day today. and whatever many other days you’ve helped me.

                    Now my issue is this: Whey I go to “finish registration” I get a long list of forms to fill out for each “event” I added to the cart. Is there a way to just fill out the one form? I guess if there’s a reason to have a form then use it, otherwise I can turn off the form right?

                    Oh I just noticed I can turn it off for viewing in the list but it still shows up at the end.

                    • This reply was modified 12 years, 3 months ago by Jim Felder.


                    Josh

                      July 6, 2012 at 7:10 am

                      There isn’t a way to remove or turn off the additional forms with the current version of Multi Event Registration. Multi Event Registration version 2, which is tied to the next major release of Event Espresso (3.2) will have a better way of handling the multiple forms (we’re currently testing a checkbox that will slide the additional forms out of view.

                      If you want to fill out the one form only, the “copy to” buttons will autofill the other forms based on the first fields’ entries.

                      Viewing 9 reply threads

                      The support post ‘View Cart Link going to Forbidden page’ is closed to new replies.

                      Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

                      Event Espresso - Staging Server