Recent Topics

1 Jan 06, 2008 23:57    

My b2evolution Version: 2.3x

Hi,

I just installed the blog for the first time on my server. The installation seemed to go fine, and the tables have been created. I can see the sample blogs, but I can't login or get to admin.php.

When I first try to log in it returns with:

"The login window has expired. Please try again.

Note: You are already logged in as admin! Continue » "

and then it shows the Login/Password fields. If I click on the Continue link it will try to load <mydomain>/admin.php but it just shows a typical Cannot find server/Page cannot be displayed error. Like admin.php doesn't exist.

and at the bottom of the login page is this error:
Error in my_thread_global_end(): 1 threads didn't exit

I have modified the conf/_advanced.conf file for the increased memory and made sample.htaccess just .htaccess. I have deleted all files, and the database. I created a new MySQL 5 database and uploaded all of the files again. Same issue.

If I go to the sample blogs after trying to login it will show a bar at the top showing me as admin, but I still can't access the backoffice/admin.php. I've tried logging out using that top bar and get the same results.

Configuration:

Site URL: www.fatmanreviews.com (this has the default blogs)
Admin URL: www.fatmanreviews.com/admin.php
Login URL: www.fatmanreviews.com/htsrv/login.php
Login Info: admin / YcC8xwNn (there's nothing there anyway, and I'll change it once I get it fixed)

My host server is running PHP 5 and MySQL 5

b2evolution Version: "Renaissance" 2.3.0

Any help? :'(

2 Jan 07, 2008 00:09

http://www.fatmanreviews.com/admin.php?ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&
ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&
ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&
ctrl=dashboard&ctrl=dashboard&blog=1


(linebreaks manually added)

I should re upload all files to the server again. Delete the existing files first.

3 Jan 07, 2008 00:16

I already tried deleting all files and re-uploading, didn't make a difference.

4 Jan 07, 2008 00:19

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

¥

6 Jan 07, 2008 00:37

Afwas wrote:

http://www.fatmanreviews.com/admin.php?ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&
ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&
ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&ctrl=dashboard&
ctrl=dashboard&ctrl=dashboard&blog=1

Try http://www.fatmanreviews.com/admin.php?foo=bar you get the same "ctrl=dashboard" never ending redirect.

Check your htaccess

¥

7 Jan 07, 2008 00:38

Afwas wrote:

The error

Error in my_thread_global_end(): 1 threads didn't exit 


is not related to B2evo but to either php or mySQL. See this thread http://forums.mysql.com/read.php?10,153077,153077#msg-153077 for more on this topic.

I advise you to contact your host and pass him this information.

Good luck

I just opened a ticket with my host on that. Do you think going to an earlier release of B2evo will help, or changing to PHP 4 instead of 5? or both?

8 Jan 07, 2008 00:44

¥åßßå wrote:

Try http://www.fatmanreviews.com/admin.php?foo=bar you get the same "ctrl=dashboard" never ending redirect.

Check your htaccess

¥

I didn't change anything in the .htaccess, here's the contents:

# Apache configuration for the blog folder
# Lines starting with # are considered as comments.

# PHP SECURITY:
# this will make register globals off in the evo directory
<IfModule mod_php4.c>
php_flag register_globals off
</IfModule>
<IfModule mod_php5.c>
php_flag register_globals off
</IfModule>

# PHP5
# This may need to be in each folder:
# AddHandler application/x-httpd-php5 .php

# CLEAN URLS:
# If you're using Apache 2, you may wish to try this if clean URLs don't work:
# AcceptPathInfo On

# DEFAULT DOCUMENT TO DISPLAY:
# this will select the default blog template to be displayed
# if the URL is just .../blogs/
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>

# CATCH EVERYTHING INTO B2EVO:
# The following will allow you to have URL right off the site root,
# using index.php as a stub but not showing it.
# This will add support for URLs like: http://example.com/2006/08/29/post-title
# Redirect anything that's not an existing directory or file to index.php
#
# RewriteEngine On
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^ index.php

should I remove it altogether?

9 Jan 07, 2008 00:58

FIXED IT!

I went into my host and changed the PHP version from 5 to 4. Went back to my page tried to login, gave the same message that I was already logged in as admin and I clicked the Continue button and got right to Dashboard!!

Must be that bug with the version 5 PHP that my server has, conflicting with code in B2evo. Hopefully if they replace that dll file with the newest version I can go back to PHP 5, but I'm just glad it's working!!!

Thank you very much for the help, I've been trying for 2 days trying to get a blog up on my site! :lol:

10 Jan 07, 2008 01:05

Well done.

Happy blogging

11 Jan 07, 2008 01:18

OK maybe I spoke to soon...

Everytime I log in it says I'm already logged in, and I have to click Continue. Had someone else try to login and he got the same thing. It's not as big of a deal, but I don't want users to think they can't log in. Think I need to re-install B2evo after I changed the PHP version, or do I need to back it all the way to an earlier release of B2evo?

At least I can admin it... :)

12 Jan 07, 2008 01:21

No this is a cookie thing. Simply ignore it.


Form is loading...