Problems with setting Dragonfly on local Host
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexChit-Chat
Author Message
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Problems with setting Dragonfly on local Host
Posted: Sun Aug 26, 2007 5:25 pm
Reply with quote

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
View user's profile Visit poster's website
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Sun Aug 26, 2007 5:26 pm
Reply with quote

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
View user's profile Visit poster's website
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Sun Aug 26, 2007 10:10 pm
Reply with quote

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
View user's profile Visit poster's website
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 12:00 am
Reply with quote

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
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 12:24 am
Reply with quote

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
View user's profile Visit poster's website Yahoo Messenger
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 1:22 am
Reply with quote

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
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 1:28 am
Reply with quote

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
View user's profile Visit poster's website Yahoo Messenger
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 3:10 pm
Reply with quote

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
View user's profile Visit poster's website
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 3:17 pm
Reply with quote

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
View user's profile Visit poster's website
Jeruvy
Security Team


Joined: Apr 23, 2004
Posts: 1433
Location: Canada

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 5:03 pm
Reply with quote

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
View user's profile ICQ Number Yahoo Messenger
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 5:54 pm
Reply with quote

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
View user's profile Visit poster's website
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Mon Aug 27, 2007 5:55 pm
Reply with quote

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
View user's profile Visit poster's website
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Tue Aug 28, 2007 2:41 am
Reply with quote

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
View user's profile Visit poster's website
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Tue Aug 28, 2007 6:12 pm
Reply with quote

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
View user's profile Visit poster's website
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: Problems with setting Dragonfly on local Host
Posted: Tue Aug 28, 2007 6:15 pm
Reply with quote

Would you mind posting what you did for others that might come across this same issue? Very Happy
_________________
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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexChit-Chat All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.8693 seconds with 19 DB Queries in 0.1183 seconds
Memory Usage: 3.03 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy