Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Admin CP Trouble (http://www.mysidiaadoptables.com/forum/showthread.php?t=3968)

pachoofoosh 01-21-2013 10:22 AM

Admin CP Trouble
 
Hello,

After I log into the Admin Control Panel for my site, when I view the different pages, every page has the same "Welcome to your Admin CP..." text instead of the page's actual text.
I'm not quite sure what is causing this; I looked through some of my site's files and couldn't really find anything.
Any ideas on what do do to fix it? :littlecfrown:

Thank you for any help! ^u^

5404 01-21-2013 11:53 AM

I'm not sure but this could be problem with .htaccess.

.htaccess of just downloaded and unzipped file looks like that:
Quote:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
And according to this it just catch all requests and shows index.php:
Quote:

Next, you say you are trying to catch all requests that don't contain "index.php".. and ensure they do, creating a PATH_INFO parameter out of the original request. Something like this will work better..

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/$1 [R,L]

The first two lines check that the requested resource doesn't actually exist (including requests for index.php itself). It's slightly wasteful, but required for your catch-all rule. The RewriteRule catches all other requests and directs them to /index.php/*something*.

*something* will then be available as your PATH_INFO variable.

If you don't want the new address to show up in the user's address bar, remove the [R] flag.
Source: http://corz.org/serv/tricks/htaccess2.php

pachoofoosh 01-21-2013 05:23 PM

Quote:

Originally Posted by 5404 (Post 25717)
I'm not sure but this could be problem with .htaccess.

.htaccess of just downloaded and unzipped file looks like that:

And according to this it just catch all requests and shows index.php:
Source: http://corz.org/serv/tricks/htaccess2.php

I replaced my .htaccess with that, and it made it impossible to access the admin control panel; it just showed the main site's index.php content. :o

LucasA33 01-21-2013 05:32 PM

Hey, I have a question.. Are you using WWW. on your site, NOT the admin panel, just your site..

5404 01-22-2013 05:08 AM

@pachoofoosh, I didn't say you should replace your .htaccess. x.x
I just said .htaccess in /admincp/ looks similar and that's why you could get redirected. x.x

Hall of Famer 01-22-2013 12:26 PM

Yeah, LucasA33 has a point. You need to use the url that begins with http://www., the http:// part is not required but www is a must.

pachoofoosh 01-22-2013 02:43 PM

Oh; Sorry about that! I've changed the .htaccess back to normal.

Yeah, I am using http://www. at the beginning of the URL. c:

Hall of Famer 01-23-2013 12:53 AM

umm weird, can you post a screenshot of yourself viewing different pages? Do they all show up as the admin login page?

pachoofoosh 01-23-2013 06:00 PM

It lets me log in, it's just that after I log in every page has the same text. ^^

The ACP index page after I log in:
http://i48.tinypic.com/142dn47.png

The ACP "adopt/add/" page:
http://i49.tinypic.com/swzhw4.png

And all the other pages in the Admin CP have the same text as the above. ^^;

LucasA33 01-23-2013 07:56 PM

Did you try a reinstall, maybe using a second mysql database to see if it perhaps is something with what you did? I don't remember having that issue.


All times are GMT -5. The time now is 01:48 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.