Procedural File: index.php

Source Location: /bblog/install/index.php ( Revision Log )

Page Details

index.php - bBlog main installation file

License:  GNU General Public License
Copyright:  The bBlog Project, http://www.bblog.com/
Version:  $Id: $
Author:  xushi <xushi.xushi@gmail.com> - last modified by $LastChangedBy: $
Includes
include ('upgrade.bblog07.php') [line 97]
[ Top ]

include ('header.php') [line 84]
[ Top ]

include ('steps.php') [line 83]
[ Top ]

include ('footer.php') [line 101]
[ Top ]

include ('../docs/LICENCE.txt') [line 118]
[ Top ]

include ('footer.php') [line 691]

Case 7 : Finally, create and write the config.php file.

[ Top ]

include ('../libs/ez_sql.php') [line 82]
Information Tags:
Todo:  2) The second page will be the one asking the user to
Todo:  button on the first page (with the licence)
Todo:  fill his details for the installation
Todo:  3) All the other installation info can be grouped to a
Todo:  third single page.
Todo:  1) The 'file permissions' can be binded to the 'agree'
Todo:  from 6 pages/steps, down to 3.
Todo:  xushi: notes
Todo:  note:
Todo:  -----
Todo:  im thinking of reducing the GUI installation steps
Todo:  
Todo:  note:
Todo:  Remove the switch case. Either stick all code in 1 blob, or replace
Todo:  case with functions.. Atleast with functions you can return SUCCSES
Todo:  or FAIL.
Todo:  ------
Todo:  ------
Todo:  note:
Todo:  -----
Todo:  i like how in 0.8, by default, a new install is determined by
Todo:  weather you have a full config.php or not.
Todo:  
Todo:  : Delete blogurl section from install page (i think i already did that..)
[ Top ]

include_once ('../bBlog_plugins/'.$plugin_file) [line 602]

xushi: This code is horrible.. i just dont like it at all.

This code needs to be independant.. in its own function somewhere else to be shared by the upgrader too.

So far, there are 3 copies of it to debug. Here, the upgrader, and in bBlog_plugins.

edit: err, i dont even think this works, let alone does anything..

[ Top ]


Functions
check_writable  [line 724]

void check_writable( )

Stack Trace: warnings found (for debugging) The line numbers are a bit off coz of the copy/paste of these dumps.

[client 127.0.0.1] PHP Stack trace:, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 1. {main}() bblog/install/index.php:0, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 2. delete_install() bblog/install/index.php:789, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 3. <a href='http://www.php.net/opendir' target='_new'>opendir</a>\n() bblog/install/index.php:920, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP Warning: opendir(install) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory in /home/xushi/public_html/08/bblog/install/index.php on line 920, referer: http://localhost/xushi/08/bblog/install/index.php

[client 127.0.0.1] PHP Stack trace:, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 1. {main}() /home/xushi/public_html/08/bblog/install/index.php:0, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 2. delete_install() /home/xushi/public_html/08/bblog/install/index.php:789, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 3. <a href='http://www.php.net/readdir' target='_new'>readdir</a>\n() /home/xushi/public_html/08/bblog/install/index.php:921, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP Warning: readdir(): supplied argument is not a valid Directory resource in /home/xushi/public_html/08/bblog/install/index.php on line 921, referer: http://localhost/xushi/08/bblog/install/index.php

[client 127.0.0.1] PHP Stack trace:, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 1. {main}() bblog/install/index.php:0, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 2. delete_install() bblog/install/index.php:789, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP 3. <a href='http://www.php.net/closedir' target='_new'>closedir</a>\n() bblog/install/index.php:929, referer: http://localhost/xushi/08/bblog/install/index.php [client 127.0.0.1] PHP Warning: closedir(): supplied argument is not a valid Directory resource in bblog/install/index.php on line 929, referer: http://localhost/xushi/08/bblog/install/index.php



[ Top ]
print_iis_message  [line 759]

void print_iis_message( mixed $msg  )


[ Top ]