a version that works with php 4.0.6 ?
Moderator: Thorsten
a version that works with php 4.0.6 ?
Hi
What is the latest version of phpmyFAQ that will work with php 4.0.6 ?
Would that be version 1.2.x ?
regards
Dave 8)
What is the latest version of phpmyFAQ that will work with php 4.0.6 ?
Would that be version 1.2.x ?
regards
Dave 8)
Hi,
the last version which works with PHP 4.0.6 is phpMyFAQ 1.1.5. This version is very old, buggy and insecure. We do not offer this version for download because of copyright issues.
Sorry.
bye
Thorsten
the last version which works with PHP 4.0.6 is phpMyFAQ 1.1.5. This version is very old, buggy and insecure. We do not offer this version for download because of copyright issues.
Sorry.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
v 1.1.5
Thanks for the answer - the reason I asked is that our webserver is due to upgrade to php 4.3.x at the end of January, but I need to run the faq script now.
I have seen a number of sites that are running phpmyfaq 1.1.5 and they look OK - is there no way at all of getting a copy?
or...
is there a way of getting the new version to work with php 4.0.6 ?
all the best
Dave
I have seen a number of sites that are running phpmyfaq 1.1.5 and they look OK - is there no way at all of getting a copy?
or...
is there a way of getting the new version to work with php 4.0.6 ?
all the best
Dave
Hi Dave,
I search around and found a fix for your problem.
Just add this code in index.php, admin/index.php and the installer.php in the top of the file after the "<?php" tag:
This sould work, but is not tested by me.
bye
Thorsten
I search around and found a fix for your problem.
Just add this code in index.php, admin/index.php and the installer.php in the top of the file after the "<?php" tag:
Code: Select all
if (isset ($HTTP_SERVER_VARS))
{
$_SERVER = &$HTTP_SERVER_VARS;
}
if (isset ($HTTP_GET_VARS))
{
$_GET = &$HTTP_GET_VARS;
}
if (isset ($HTTP_POST_VARS))
{
$_POST = &$HTTP_POST_VARS;
}
if (isset ($HTTP_COOKIE_VARS))
{
$_COOKIE = &$HTTP_COOKIE_VARS;
}
if (isset ($HTTP_POST_FILES))
{
$_FILES = &$HTTP_POST_FILES;
}
if (isset ($HTTP_ENV_VARS))
{
$_ENV = &$HTTP_ENV_VARS;
}
if (isset ($HTTP_SESSION_VARS))
{
$_SESSION = &$HTTP_SESSION_VARS;
}
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi Thorsten,
Thanks for the code - I'm afraid it still won't install though :
I get
You need PHP Version 4.1.0 or higher!
© 2001 - 2003 phpMyFAQ-Team | All rights reserved.
at
http://www.staffs.ac.uk/schools/science ... taller.php
any ideas
(thanks for looking this by the way!
Dave
Thanks for the code - I'm afraid it still won't install though :
I get
You need PHP Version 4.1.0 or higher!
© 2001 - 2003 phpMyFAQ-Team | All rights reserved.
at
http://www.staffs.ac.uk/schools/science ... taller.php
any ideas
(thanks for looking this by the way!

Dave
Hi Dave,
sorry....
Open the file installer.php and search for
and change it to
Then everything should work.
bye
Thorsten
sorry....
Open the file installer.php and search for
Code: Select all
if (php_check("4.1.0") == FALSE) {
Code: Select all
if (php_check("4.0.0") == FALSE) {
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
not yet .....
still not there yet!
unbelievably we only have MySQL 3.22.30 !!!!!!!
I hacked the installer.php again as per your last tip
if (mysql_check("3.22.30") == FALSE) {
print "<p align=\"center\">You need MySQL Version 3.23.23 or higher!</p>";
HTMLFooter();
die();
}
and I can then get to the install screen!
BUT
it won't read my passwords and gives
"Error:
Your password or retyped password are empty. Please set your password and your retyped password. "
even though I did type them in
sorry for the continued problem
dave
unbelievably we only have MySQL 3.22.30 !!!!!!!

I hacked the installer.php again as per your last tip
if (mysql_check("3.22.30") == FALSE) {
print "<p align=\"center\">You need MySQL Version 3.23.23 or higher!</p>";
HTMLFooter();
die();
}
and I can then get to the install screen!

BUT
it won't read my passwords and gives
"Error:
Your password or retyped password are empty. Please set your password and your retyped password. "
even though I did type them in
sorry for the continued problem
dave
Hi,
I'll look tomorrow for a solution for you, okay?
btw, the fulltext search will not work with MySQL 3.22.x!
bye
Thorsten
I'll look tomorrow for a solution for you, okay?
btw, the fulltext search will not work with MySQL 3.22.x!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
thanks Thorsten
Thanks! Will check in tomorrow :
8)
info that might help
install page
http://www.staffs.ac.uk/schools/science ... taller.php
php info
http://www.staffs.ac.uk/schools/science ... n/info.php
email me if you need db passwords etc.
cheers and thanks again!
dave
8)
info that might help
install page
http://www.staffs.ac.uk/schools/science ... taller.php
php info
http://www.staffs.ac.uk/schools/science ... n/info.php
email me if you need db passwords etc.
cheers and thanks again!
dave
Hi,
could you please test this code in the first line of index.php, admin/index.php and installer.php:
bye
Thorsten
could you please test this code in the first line of index.php, admin/index.php and installer.php:
Code: Select all
if (isset ($HTTP_SERVER_VARS))
{
$_SERVER = &$HTTP_SERVER_VARS;
}
if (isset ($HTTP_GET_VARS))
{
$_GET = &$HTTP_GET_VARS;
$_REQUEST = &$HTTP_GET_VARS;
}
if (isset ($HTTP_POST_VARS))
{
$_POST = &$HTTP_POST_VARS;
$_REQUEST = &$HTTP_GET_VARS;
}
if (isset ($HTTP_COOKIE_VARS))
{
$_COOKIE = &$HTTP_COOKIE_VARS;
}
if (isset ($HTTP_POST_FILES))
{
$_FILES = &$HTTP_POST_FILES;
}
if (isset ($HTTP_ENV_VARS))
{
$_ENV = &$HTTP_ENV_VARS;
}
if (isset ($HTTP_SESSION_VARS))
{
$_SESSION = &$HTTP_SESSION_VARS;
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Dadurch wird zB. $_SERVER nicht *superglobal* und ist somit nicht automatisch innerhalb von Funktionen und Klassen gültig.Thorsten wrote:could you please test this code in the first line of index.php, admin/index.php and installer.php:Code: Select all
if (isset ($HTTP_SERVER_VARS)) { $_SERVER = &$HTTP_SERVER_VARS; } #
a little confused ..
Hi folks,
'Entschuldigang sie bitte' (sorry for spelling - I did some German 25 years ago at school!)
I'm a little confused as my german is 'nicht sehr gut'
Thorsten - presumably I replace the code you posted first with that new block of code?
Meikel - could you possibly translate your post please ??
I make it :
"Through it zB becomes. $_SERVER not *superglobal* and is therefore not automatic within functions and classes valid. "
Does that mean that
if (isset ($HTTP_SERVER_VARS))
{
$_SERVER = &$HTTP_SERVER_VARS;
}
#
will not work ?
Thanks for all the continuing help!!
'Entschuldigang sie bitte' (sorry for spelling - I did some German 25 years ago at school!)
I'm a little confused as my german is 'nicht sehr gut'

Thorsten - presumably I replace the code you posted first with that new block of code?
Meikel - could you possibly translate your post please ??
I make it :
"Through it zB becomes. $_SERVER not *superglobal* and is therefore not automatic within functions and classes valid. "
Does that mean that
if (isset ($HTTP_SERVER_VARS))
{
$_SERVER = &$HTTP_SERVER_VARS;
}
#
will not work ?
Thanks for all the continuing help!!

still no luck
I tried it with the new code anyway but still get
"Your password or retyped password are empty. Please set your password and your retyped password. "
Dave
"Your password or retyped password are empty. Please set your password and your retyped password. "

Dave