| Author |
Message |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Problems with setting Dragonfly on local Host Posted: Sun Aug 26, 2007 5:25 pm |
|
I am trying to setup my site on my local host by I seem to be running into some problems. Firstly the images weren't showing up but now they have started to show up.
But now I got into another big problem. I have LEO switched on and as it turns out none of the link is working except the /index.php one. Where could I be going wrong? I need help desperately to test a few features I intend to introduce my site. Thanks for the help in advance.
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Sun Aug 26, 2007 5:26 pm |
|
Just to add on to what I said above, I am also not being able to log in to my Admin console. Hope this info helps!
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
bigern75


Joined: Aug 18, 2004 Posts: 2102
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Sun Aug 26, 2007 10:10 pm |
|
localhost = windows with xxamp or apache2triad or similar or on a linux box?
_________________ iPad 1 running iOS 5.1 b2
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2 |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 12:00 am |
|
I have tried them but with the same problems. As it turns out there could be two problems according to me. One a cookie issue or the other being an htaccess file issue. I tried something similar a few months back and succeeded. But that was a fresh install of DF. As of now I am recreating my entire present website. Help would be appreciated!
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
DJ Maze


Joined: Apr 19, 2004 Posts: 5668 Location: http://tinyurl.com/5z8dmv
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 12:24 am |
|
in the database and /cache/config_MAIN_CFG.php are the server-domain and cookie-domain probably set to your website domain
Make them empty
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 1:22 am |
|
Can you please tell me as to exactly where in the database. As for the cache I already had emptied it!
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
DJ Maze


Joined: Apr 19, 2004 Posts: 5668 Location: http://tinyurl.com/5z8dmv
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 1:28 am |
|
config table
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 3:10 pm |
|
It now seems to be a cookie and domain path problem. I have looked into the DB but can somebody please tell me the actual lines that I should be looking for to change them in the config template.
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
bigern75


Joined: Aug 18, 2004 Posts: 2102
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 3:17 pm |
|
config_custom
Here is my setup for my localhost on a box I've got running at my house. www.localsand.info:81/dragonfly/
server path /dragonfly/
server domain localsand.info:81
cookie path /dragonfly/
Delete cookie domain localsand.info
cookie admin bigern_admin
cookie member bigern_member
cookie server 0
_________________ iPad 1 running iOS 5.1 b2
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2 |
|
| Back to top |
|
 |
Jeruvy


Joined: Apr 23, 2004 Posts: 1433 Location: Canada
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 5:03 pm |
|
you can also ensure 'server domain' and 'cookie path' are in fact VALID, it should work even with just 'http://localhost/'
_________________ J.
j e r u v y a t y a h o o d o t c o m
Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net
Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2} |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 5:54 pm |
|
Here is my edited config_custom table.
Code:
('cookie', 'domain', ''),
('cookie', 'admin', 'cms_admin'),
('cookie', 'member', 'my_login'),
('cookie', 'server', '1'),
('server', 'path', '/radopod/'),
('server', 'domain', 'localhost'),
I have added the ones that were mentioned by bigern. I have been constantly trying to log in and although everything else seems fine with the website, logging in is a problem. Dead sure that he cookie settings are at fault. Can somebody look into it whether the settings are correct.
NOTE:- I am trying to set up the site in a folder titled 'radopod'.
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Mon Aug 27, 2007 5:55 pm |
|
Just to add on I have also tried this
('cookie', 'server', '0'),
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
bigern75


Joined: Aug 18, 2004 Posts: 2102
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Tue Aug 28, 2007 2:41 am |
|
server path /df/
server domain localhost
cookie path /df/
cookie domain
cookie admin cookie_admin
cookie member member_login
cookie server 0
This is on my ubuntu laptop with apache2, php5, mysql5
Make sure your cookie for admin and member are completely different than any other site you have or have been to. It needs to be unique.
_________________ iPad 1 running iOS 5.1 b2
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2 |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Tue Aug 28, 2007 6:12 pm |
|
Problem solved finally earlier this morning. Thanks a lot for all the help!
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
bigern75


Joined: Aug 18, 2004 Posts: 2102
|
Post subject: Re: Problems with setting Dragonfly on local Host Posted: Tue Aug 28, 2007 6:15 pm |
|
Would you mind posting what you did for others that might come across this same issue?
_________________ iPad 1 running iOS 5.1 b2
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2 |
|
| Back to top |
|
 |