SOLVED Strange issue

Support for IntegraMOD 140

Moderator: Integra Moderator

SOLVED Strange issue

PostAuthor: windin » Sun Jan 07, 2007 5:51 am

Your phpBB Version: 2.0.17
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?
in order to make upgrade easier i decided to run a version of my board one of my home boxes in parallel with the one running on the website.




What was done to try to solve the problem?
edited config.php to localhost as the host name with no joy



Description and Message

in order to make upgrade easier i decided to run a version of my board one of my home boxes in parallel with the one running on the website.

I have xampp running perfectly and backed up the forum and uncompressed it. I then set up a new sql database with the same name and access details as the one on the server, used mysqldumper to backup my database on line and download it then restoreed it to the local setup.

so far so good i went into the site directory with my browser and hey presto it loaded up with no issues, i was able to navigate all the forums, the portal album etc.

then i went to log in and it came up with

Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404
localhost
01/07/07 12:34:07

Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/4.4.1-pl1

i thought i had not edited my config.php, backed out and found i was now logged into the board, tried to access ACP and exactly the same screen.
Last edited by windin on Sun Jan 07, 2007 10:47 am, edited 1 time in total.

windin
Newbie
Newbie
 
Posts: 8
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 02, 2007 6:36 am
Cash on hand: 0.00

Re: Strange issue

PostAuthor: Whisky » Sun Jan 07, 2007 6:37 am

I am not sure this is related but if you restored a backup of your online board in your local DB, you also have to adapt the servername in the local board configuration table

You can run this query to do it:
Code: Select all
UPDATE `phpbb_config` SET  config_value='localhost' WHERE  config_name = 'server_name'


The key "cookie_domain" must probably be updated as well:
Code: Select all
UPDATE `phpbb_config` SET  config_value='localhost' WHERE  config_name = 'cookie_domain'

for the cookie you can also use Helter's fix

I don't think you'll be able to login and access your ACP if you don't make these changes
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels

PostAuthor: IntegraMOD » Sun Jan 07, 2007 7:55 am

You could also try the cookie mod
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

PostAuthor: windin » Sun Jan 07, 2007 9:54 am

well i tried the sql query with no joy, they seemed to run ok but still have the same issue

i tried the cookie fix and got

Warning: main(./../extension.inc): failed to open stream: No such file or directory in C:xampphtdocsforumcookie.php on line 24

Warning: main(): Failed opening './../extension.inc' for inclusion (include_path='.;xamppphppear') in C:xampphtdocsforumcookie.php on line 24

Warning: main(./../common.): failed to open stream: No such file or directory in C:xampphtdocsforumcookie.php on line 25

Warning: main(): Failed opening './../common.' for inclusion (include_path='.;xamppphppear') in C:xampphtdocsforumcookie.php on line 25

Fatal error: Call to undefined function: session_pagestart() in C:xampphtdocsforumcookie.php on line 33

its frustrateing as hell, if i can get it working i am just going to have to rebuild from scratch. There are three other IM installs from scratch on there running fine its only this I am haveing issues with
Last edited by windin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

windin
Newbie
Newbie
 
Posts: 8
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 02, 2007 6:36 am
Cash on hand: 0.00

PostAuthor: IntegraMOD » Sun Jan 07, 2007 10:02 am

the cookie mod need to be run from the install folder i think
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

PostAuthor: windin » Sun Jan 07, 2007 10:26 am

guys your both stars that did it for me

i had just dumped cookieMOD in the forum root not its own folder. After running it and clearing my cache its all up and working
Last edited by windin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

windin
Newbie
Newbie
 
Posts: 8
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 02, 2007 6:36 am
Cash on hand: 0.00

PostAuthor: IntegraMOD » Sun Jan 07, 2007 10:37 am

Glad to help please place solved in the topic please
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

Re: SOLVED Strange issue

PostAuthor: Whisky » Sun Jan 07, 2007 12:06 pm

Yeah Cookie Mod that's what I meant with my "Helter's fix" :)
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels


Return to IntegraMOD 140

Who is online

Registered users: Google [Bot], Vendethiel