Install error

Having problems installing EM? Let's fix that
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
cjhar
Registered User
Posts: 4
Joined: Thu Jan 05, 2006 11:52 pm

Install error

Post by cjhar »

Hello, when I go to install EasyMod, and I click Submit, it takes me back to my forum telling me to log in. I have done this many times, and it's all one big loop. I have cookies enabled, can anyone help me?

User avatar
Nux
Registered User
Posts: 943
Joined: Tue Jun 14, 2005 5:09 pm
Location: 3cities, Poland
Contact:

Re: Install error

Post by Nux »

Check your cookie settings (if you will change anything then restart your browser). If it won't work then use this advice:
viewtopic.php?p=130301#130301

cjhar
Registered User
Posts: 4
Joined: Thu Jan 05, 2006 11:52 pm

Re: Install error

Post by cjhar »

I read the topic, but it still doesn't help me.

User avatar
Nux
Registered User
Posts: 943
Joined: Tue Jun 14, 2005 5:09 pm
Location: 3cities, Poland
Contact:

Re: Install error

Post by Nux »

Be sure to enable cookies in your browser. I've tested that it works with FireFox browser, I don't know how if this works at Internet Exploder.

cjhar
Registered User
Posts: 4
Joined: Thu Jan 05, 2006 11:52 pm

Re: Install error

Post by cjhar »

I use firefox and cookies are enabled

User avatar
Nux
Registered User
Posts: 943
Joined: Tue Jun 14, 2005 5:09 pm
Location: 3cities, Poland
Contact:

Re: Install error

Post by Nux »

OK... Here's a fix for it:

Code: Select all

#
#-----[ OPEN ]-------------------------------------
#
easymod_display_functions.php

#
#-----[ FIND ]-------------------------------------
#0
	$variables['LINK'] = $link;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['LINK'] = append_sid($link);


#
#-----[ FIND ]-------------------------------------
#
#1
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.'.$phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.'.$phpEx);

#
#-----[ FIND ]-------------------------------------
#2
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.' . $phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.' . $phpEx);

#
#-----[ FIND ]-------------------------------------
#3
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.'.$phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.'.$phpEx);

#
#-----[ FIND ]-------------------------------------
#4
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.'.$phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.'.$phpEx);

#
#-----[ FIND ]-------------------------------------
#5
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.'.$phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.'.$phpEx);

#
#-----[ FIND ]-------------------------------------
#6
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.'.$phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.'.$phpEx);

#
#-----[ FIND ]-------------------------------------
#7
	$variables['U_FORM'] = $phpbb_root_path . $script_path . 'easymod_install.'.$phpEx;

#
#-----[ REPLACE WITH ]-------------------------------------
#
	$variables['U_FORM'] = append_sid($phpbb_root_path . $script_path . 'easymod_install.'.$phpEx);
This should work in most cases. If you will get redirected by clicking some link, then go back in the history, copy the part with the sid (&sid=...) and paste it in the address bar.

cjhar
Registered User
Posts: 4
Joined: Thu Jan 05, 2006 11:52 pm

Re: Install error

Post by cjhar »

It worked, thank you very much!

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Install error

Post by Nightrider »

Nux, what does this fix do exactly? Is this the solution when people get the login problem and have their cookies set to anything other than / ???

Image

User avatar
Nux
Registered User
Posts: 943
Joined: Tue Jun 14, 2005 5:09 pm
Location: 3cities, Poland
Contact:

Re: Install error

Post by Nux »

This is a real fix for the login issue - it ads the sid to all urls in the forms so that users will stay logged in even if their cookies are disabled or their is something wrong with them.

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Install error

Post by Nightrider »

That's good to know. Thanks Nux...

Image

Locked