PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have paid professionals to do the bulk of the programming however - as I know a little html I do make minor text modifications here and there. I am careful with my changes.
Here's my problem:
When you go to my main mage (http://www.citizenshipper.com) and click on the navigation panel on the left you are taken to a page that says: "You have to be logged in to use that function"
I want to change the text in this message. However, I have had a look at the login.php file and cannot find the phrase "You have to be logged in to use that function". Can anyone help suggest how I might find where the coders placed that text so that I can change it?
search for the following string in all your files. most probably all the error codes would be listed in one single file. so try looking for files titled like error.php or errors.php or errorcodes.php.
miyur wrote:search for the following string in all your files. most probably all the error codes would be listed in one single file. so try looking for files titled like error.php or errors.php or errorcodes.php.
McInfo wrote:This script searches all files in a given directory (and sub-directories) for a search phrase. If you have many files in your directories, it will very likely time out. Just put the script in an upper directory and it will show you a list of files that contain the search phrase.
i beleive its written in the index.php page which serves as the default page.. if you can provide a snippet of the starting lines, may be we can help.. usually the message is set when some of the session variables for logged in or not are not set. goes something like this