Admin CP Trouble

Forum
Last Post
Threads / Messages

pachoofoosh

Artist
Member
Joined
Dec 10, 2012
Messages
99
Points
6
Location
New York
Mysidian Dollar
10,255
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^
 
I'm not sure but this could be problem with .htaccess.

.htaccess of just downloaded and unzipped file looks like that:
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:
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
 
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. :eek:
 
Hey, I have a question.. Are you using WWW. on your site, NOT the admin panel, just your site..
 
@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
 
umm weird, can you post a screenshot of yourself viewing different pages? Do they all show up as the admin login page?
 
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.
 
I just re-installed it, but it still only shows the index page's text when I log into the ACP. My host only allows one database for the hosting package I have, so I can't try it with a second database. ^^; I double-checked to see if I entered all the information correctly, and everything seemed fine.

Could it be something to do with the files in the /lang/ directory? :eek:
 
Last edited:

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top