PDA

View Full Version : Major ACP problems


Empress_Swanbottom
02-10-2013, 01:46 AM
I have no idea what is up, but now my site is just going crazy. I start out and find myself at www.gardencreatures.net. Okay, nothing suspicious about that... so I log in and go to the admin CP. Good so far. Log in and click on something. Then I get the HTTP 500 error page. I remove the www. and it says that I'm not authorized to vew the page. So I go to gardencreatures.net and log in, admin CP, log in, and one of the pages. HTTP 500 again, so I add www. and it says that I'm not authorized to view the webpage. Can someone help me out?

It keeps logging me out of the Admin CP.

So basically somehow an alternate site was made from the files and the two sites keep interconnecting, and logging each other out. I suppose you could say...

Abronsyth
02-10-2013, 07:56 AM
I think you can go into PHPMyadmin and manually change all of the pages to include the 'www.' in front of the domain name and that should solve the logging in and out problem.

As for the HTTP 500 error page, not sure what to tell you.

ChibiMaestro
02-10-2013, 08:18 AM
Yup. www.____ is different to just ___. So if you're logged in on one of them, then you won't be logged in on the other.
It's annoying.
But I get by, by just using the one www. since the dashboard of the ACP links to www.

Hall of Famer
02-10-2013, 11:56 AM
Well this is an issue with Mys v1.3.2, as it requires somewhat of modification in order to get subdomains to work with ACP('cause some subdomains cannot contain 'www').

Empress_Swanbottom
02-10-2013, 12:02 PM
I feel kinda stupid, though I am just starting out with this... Where do I find the parts that I need to change? I've got all of these files but when I click edit/change, there is nothing that has my site listed... And I'm starting to think that it's something to do in the admincp files because on the config.php I changed gardencreatures.net to www.gardencreatures.net and everything works fine. Then I get to the admin cp and click on something and sends me to www.www.gardencreatures.net

Hall of Famer
02-10-2013, 12:05 PM
Well check your config.php, the domain and scriptpath should not contain 'www'.

Empress_Swanbottom
02-10-2013, 02:04 PM
The video said to leave the scriptpath blank, so it is, and I don't have www. in the domain...

I've got a file in the mysqladmin that says wwwpath. Should I change that?

Hall of Famer
02-10-2013, 06:22 PM
umm can you post a screenshot of what exactly is in your phpmyadmin? Id like to see for it and figure out what you should modify then.

Empress_Swanbottom
02-10-2013, 09:41 PM
http://i.imgur.com/74R0621.png

If there's anything on the list that you want to see what's in it, just let me know.

Hall of Famer
02-10-2013, 10:34 PM
Nope, thats not what I mean, I was referring to where you found the wwwpath from phpmyadmin. Showing me a list of tables aint gonna help anything lol.

Empress_Swanbottom
02-11-2013, 04:20 AM
Derp, sorry. XD Here ya go=
http://i.imgur.com/PijiHbY.png

Empress_Swanbottom
02-11-2013, 02:08 PM
What the heck, I could have sworn I copied the image's code... sorry about that. :(
http://i.imgur.com/PijiHbY.png
Under filesmap.

Hall of Famer
02-11-2013, 07:14 PM
Oh no, theres nothing wrong with this wwwpath lol, its a column name in the database table prefix.filesmap.

Anyway if you get issues with www, just remove every instance of www. from the file class_page.php and class_pagination.php. This should fix the problem with users having subdomains that cannot begin with www.

Empress_Swanbottom
02-11-2013, 08:58 PM
I think I broke my site... again. v_v Maybe I'll just try with v1.3.1 and see if it works from there. Thanks for all the help though. :)

Hall of Famer
02-11-2013, 09:58 PM
Oh thats too bad. If you are willing to provide me with your site cpanel and ftp access Id be willing to look into the issue in more details.

Empress_Swanbottom
02-12-2013, 05:33 AM
I think that perhaps my host just had an internal issue with it because it works perfectly fine elsewhere... And I just installed the 1.3.1 and everything's working perfectly so far, even admin CP. Thank you for the offer, though. :)

Hwona
03-01-2013, 02:08 PM
Yes! This is really similar to the issue I'm having...

Hall of Famer
03-01-2013, 03:17 PM
Do you happen to enter the wrong domain or script path in config file? If so, edit it in config.php. Otherwise theres a chance you have a site with subdomain notation like this one: subdomain.domain.com. In this case, you need to get rid of all instances of 'www.' from the files.

Hwona
03-01-2013, 03:27 PM
Oh, thanks! But could you explain how to do this?

Hall of Famer
03-01-2013, 11:07 PM
Well you may go to the files class_page.php and class_pagination, remove the four characters www., and the problem should be gone.

Hwona
03-08-2013, 10:32 PM
This is the message that pops up:Warning: Cannot modify header information - headers already sent by (output started at /home/ccavex10/public_html/classes/class_cookies.php:112) in /home/ccavex10/public_html/admincp/index.php on line 40

deleting www. isn't working

Hall of Famer
03-09-2013, 12:09 AM
You have to remove www. from the script files I mentioned before, just taking them out from your browser wont work.

Hwona
03-09-2013, 08:11 AM
Funny, because now it works... The redirection thing is still popping up, but at least I can edit. :P
Thanks!

Hall of Famer
03-09-2013, 09:09 AM
I see, glad it does work for you now. You may want to suppress warning messages to get rid of the annoying messages.