phpWebLog

find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (915)
  • Announcements (20)
  • Development (521)
  • Mods & Hacks (33)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • Removing Topics Block (eek)
  • Setup Problems (Aaron)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (JustTesting)
  • Meaning of Blog (JKilborn)
  • Meaning of Blog (JKilborn)


  • Admin section not working?
    Posted under Development by jason on Tuesday June 13 2000 @ 12:30AM EDT
    Development If you are trying to access the admin section, and you enter the password, yet it goes directly to the stories page with no additional admin functions displayed, chances are you are not receiving the cookie. Try turning your cookie warnings on in your browser to ensure that you are getting it. If not, there may be some compatibility issues with the way phpWebLog sends it's cookies. The browser type and version is important in determining how I can fix this.

    < HTML? | Layout Infrastructure Decision >

    jason writes on Tuesday May 30 2000 @ 06:29PM EDT: [ reply | parent ]
    There is also a known bug with the admin cookies if you change the SiteKey in the config. The site key should remain 'phpWebLog' for now.
    Anonymous writes on Wednesday May 31 2000 @ 01:52AM EDT: [ reply | parent ]
    ...or else you'll die somehow.
    philip writes on Wednesday May 31 2000 @ 04:18PM EDT: [ reply | parent ]
    i still can't get it working, even with the SiteKey still in place. in all combos of netscape 4.5 and ie5, and .2.4 and .2.3 - it's a no go. anyone else experiencing simular problems? the cookie is not being set and i am not even getting the stories page to load, it just reloads as if i mistyped the password, which i did not as i have tried every concievable password :). i am still able to login and edit .2.2 from both ns and ie but not .2.3 or .2.4
    JasonW writes on Wednesday May 31 2000 @ 09:33PM EDT: [ reply | parent ]
    I am currently aslo having this problem. I have tried it with Netscape 4.72 and IE 5.0 on Windows 2000 and Windows 98SE. I'll look at it and see if I can find anything... :-(

    My server is Apache 1.3.12 and PHP 4.0.0 on RedHat
    jason writes on Thursday June 01 2000 @ 02:21AM EDT: [ reply | parent ]
    i bet i know what it is. if you are running a unstable version, the password may not be 'password'. Change the password in the database to 'cnffjbeq', which is 'password' over rot13().

    $ mysql -u USER -p DATABASE

    > update T_Config set Passwd = 'cnffjbeq';



    --
    The above will reset the system password to 'password'.
    blade writes on Thursday June 01 2000 @ 07:25AM EDT: [ reply | parent ]
    Well, I've had the same problems.
    I've entered the password and the normal stories.php3 appeared without the admin functions although the cookie was set correctly.

    I tricked around with several things. I'm using PHP3 and PHP4 at the same
    time on my Server.
    Well now I've found the reason for the problem.
    Using PHP3 worked well besides admin.php3. I changed the application Mime type for the extension .php3 in the apache config to PHP4 and it WORKED.
    SO if you have the same problem try this on your httpd.conf:


    AddType application/x-httpd-php .php3


    Maybe you have to play around with the PHP Version-Numbers etc., depends on your configuration.
    Leah writes on Thursday June 01 2000 @ 10:36PM EDT: [ reply | parent ]
    Same trouble as Philip while running phpWebLog v0.2.4 on a Win98 box using IEv5.5 or NNv.461. Didn't change the SiteKey. You said you changed the method of password encryption in v.02.4, so the rot13 solution wouldn't work...
    Leah writes on Thursday June 01 2000 @ 10:37PM EDT: [ reply | parent ]
    ...that is, NNv4.61. Damn period. Sorry.
    JasonW writes on Friday June 02 2000 @ 06:47PM EDT: [ reply | parent ]
    After looking at the cookie issue I found that I was having issues under PHP 4.0.RC1. Once I upgraded to PHP 4.0.0 everything worked.
    Stephen L writes on Sunday June 04 2000 @ 03:00AM EDT: [ reply | parent ]
    I am having problems logging into the admin console. Here is what I have found so far...

    1) Using IE 5.1, I do not get a cookie warning when submitting password (Cookie warnings on).

    2) My 0.2.3 directory is functioning properly, and the cookie prompt does show up there.

    3) I have changed the sitekey from what was originally included, and added the password using the "Update" sql statement listed in this thread.
    Brian writes on Tuesday June 06 2000 @ 01:02AM EDT: [ reply | parent ]
    I also can't get .2.3 or .2.4 to work on Win98 SE with Netscape 4.61. It just goes to stories when I try admin and I get following error messages:

    Warning: Division by zero in .../vhosts/www.teach-in-China.com/htdocs/weblog/stories.php3 on line 59
    You have specified an invalid page number
    Warning: 0 is not a MySQL result index in .../vhosts/www.teach-in-China.com/htdocs/weblog/stories.php3

    Have tried turning on cookies warning but it didn't help.
    Haven't messed with Sitekey or anything else.
    jason writes on Tuesday June 06 2000 @ 04:13AM EDT: [ reply | parent ]
    Brian, are you sure that is a recent version you are trying it on?

    The error "You have specified an invalid page number" was removed from stories a while ago. (week or so). You shouldn't be getting this error with the latest unstable.
    Brian writes on Tuesday June 06 2000 @ 06:56AM EDT: [ reply | parent ]
    Jason,

    The errors were with .2.3. My unstable was probably not too recent. It didn't allow me into admin and also gave problems pulling the .sql file into the mysql with phpMyAdmin. .2.2 has been the last version that has worked for me.

    BTW, the download link is not working. As soon as I can download the latest unstable I'll try and give you up-to-date feedback. I'm not a programmer so I don't understand very much of the actual coding.

    Anyway, keep up the good work. phpWebLog is by far the best in its class!
    JasonW writes on Tuesday June 06 2000 @ 09:58AM EDT: [ reply | parent ]
    Brian, you can also download it from CVS on SourceFroge.
    philip writes on Tuesday June 06 2000 @ 11:54AM EDT: [ reply | parent ]
    i also am still using .2.2 and cannot use the .2.4 admin, even the latest release. i got .2.3 to work but had some issues so decided to wait until a stable .2.4 exists ... where i can use the admin functions. it seems some can and some cannot run .2.4 admin so i will do some more testing. right now i am testing on a php3 server and will install on a php4 server a bit later today. this will be resolved, i am not at all worried.

    i also feel phpweblog is the best, it's just so intuitive and useful and it's development speed is amazing to me. again, thanks.
    Brian writes on Tuesday June 06 2000 @ 12:01PM EDT: [ reply | parent ]
    Jason,

    I can only find .2.3 from May 24 at SourceForge. No latest unstable - am I missing something? Is it possible that there are different versions of .2.3 around? (I note that Emilio's Italian site appears to be running .2.3 quite smoothly). Anybody else around with working versions? If so, it would be great to get the code :-)!

    I get 2 slightly different responses from .2.3. using the same browser. The .2.3 from SourceForge goes to stories and gives a blank (black) page and these error messages in the source when I try to access admin with these errors:

    Warning: Division by zero in .../htdocs/0.2.3/stories.php3 on line 59

    Fatal error: Call to unsupported or undefined function error() in .../htdocs/0.2.3/stories.php3 on line 66

    The version from http://files.greenhell.com/phpweblog-0.2.3.tar.gz gave me a blank stories page with a broken icon in the upper left and a text box in the upper right. The errors were slightly different too:
    Warning: Division by zero in ........../htdocs/weblog/stories.php3 on line 59
    You have specified an invalid page number
    Warning: 0 is not a MySQL result index in ......./htdocs/weblog/stories.php3 on line 90
    jason writes on Tuesday June 06 2000 @ 12:35PM EDT: [ reply | parent ]
    The latest and most stable version actually, is the unstable version available from the block on the left. (the nightly build). I am not going to be adding much to this version in hopes to fix the outstanding bugs in it, and release 0.2.4 already. New features will be added after that. I hope to finally clear up the admin/cookie problems in 0.2.4, and as far as I know, with a clean install, the unstable version available here has no problems. I've installed in a few times with no problems. Perhaps alot of these problems are coming from people trying to upgrade from 0.2.3 which can be tricky.
    Brian writes on Tuesday June 06 2000 @ 12:41PM EDT: [ reply | parent ]
    Jason,

    The links on the left both give 404 not found errors...
    philip writes on Tuesday June 06 2000 @ 01:34PM EDT: [ reply | parent ]
    brian, there was a dns issue and it seems your isp has not propogated so greenhell isn't working for you (this is my guess) i just copied the unstable here (aint.org/dev/) so get it there.

    regarding .2.4 installs, i've not tried to upgrade it, just clean installs.
    Brian writes on Wednesday June 07 2000 @ 12:18AM EDT: [ reply | parent ]
    OK, thanks Philip. Everything's fine now. It looks great!
    Anonymous writes on Saturday June 10 2000 @ 08:51AM EDT: [ reply | parent ]
    Why do my posts show up after I post here and then when I come back to see a reply or something, they have been deleted? Well anyway in v0.4.2, I still cant login as admin with password "password". Even after I UPDATE T_Config set Passwd='CRdA8QWcCutMQ'. Invalid password when I type anything in. Maybe there is some kind of global setting I unknowingly have turned on in mysql? Any insight?

    Thank you
    jason writes on Saturday June 10 2000 @ 11:53AM EDT: [ reply | parent ]
    anonymous: because i am constantly making database changes on this site, and sometimes am not making backups. This should be fixed now since I have seperated the dev site from the live site.
    Anonymous writes on Sunday June 11 2000 @ 02:04PM EDT: [ reply | parent ]
    Ahh I understand... but any thoughts on my password problem for admin? I have been studying lots of open source php user authentication code trying to get a firm grasp on it but still I have simular problems with the "crypt" feature when I send stuff to the database.. I am starting to think that it might be a problem with mysql/php install. After I have untar'd, edited common.inc.php3 and dumped the .sql to the database default password should be "password" right? Try for your self(i have not changed anything): http://www.chromatics.net/portal/admin/index.php3
    jason writes on Tuesday June 13 2000 @ 12:29AM EDT: [ reply | parent ]
    I think this problem may be solved very soon.
    Servers running FreeBSD seem to be having the password problem specifically. Is this true?
    philip writes on Tuesday June 13 2000 @ 02:13AM EDT: [ reply | parent ]
    yes, i am running :

    FreeBSD 3.2-RELEASE

    and as seen in pror posts, i've have been having simular problems.
    X-Gote (Anonymouse guy) writes on Tuesday June 13 2000 @ 03:06PM EDT: [ reply | parent ]
    Yes I am running BSD also! FreeBSD 3.4-RELEASE (GENERIC) #0: Thu Dec 30 02:57:15 GMT 1999..

    well im glad im not crazy.
    Mike writes on Tuesday June 13 2000 @ 06:47PM EDT: [ reply | parent ]
    If youre running FreeBSD and just have the problem with the "Invalid Passowrd. Try again"

    Look at the other section on the main news index under development, I gave the encrypted blowfish password you need to replace in the MySQL database in order to get the admin section to work right.
    Anonymous writes on Saturday December 02 2000 @ 01:48AM EST: [ reply | parent ]
    I just downloaded 0.4.2 and I am using a web host company with php 4.0. I also cannot get my cookies to write at home with IE 5 but can at work where I initially set this software up. The way I got it to work at work was to put in an invalid password in first and then put the valid password after the invalid password prompt. Maybe that will help someone to trap the issue. Is there a way to just hard code to get the administration options working in the short term. I've tried all the suggestions above without success. New at PHP/Linux but your code makes it easy to figure out. Thanks, Mark
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:

    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net
  • Call for Speakers : PHP Qu&eacute;bec 2004
  • New function list auto completion
  • PHP 4.3.4 released!
  • PHP 5.0.0 Beta 2 released
  • Forum PHP in Paris, November 26 & 27th
  • Monthly PHP Magazine in French launched!
  • ApacheCon 2003, the Global Hub for All Things Apache
  • php|cruise: The World's First Ever PHP-only Cruise
  • PHP Usage Survey Results
  • PHP Manual CHM Edition - 12th build

  • PHPBuilder
  • Zend Studio 3.0
  • GIS Mapping with PHP
  • On User-Defined Timezones in PHP
  • Dreamweaver MX 2004
  • Using PEAR's HTML_Table Class
  • An introduction to the ADOdb class library, Part 2
  • An introduction to the ADOdb class library for PHP
  • Manually Expiring Web Pages
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library

  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications