Koozali.org: home of the SME Server

php-nuke 6.7 work work in sme5.6? (and a little problem with

Arjay

php-nuke 6.7 work work in sme5.6? (and a little problem with
« on: September 25, 2003, 03:15:53 PM »
hi! i tried and tried so install php-nuke6.7 in my sme5.6 but after following all the instructions in INSTALL, it will just give me a blank screen when ill access http://myserver/myibay/admin.php

i first followed the INSTALL but it didnt worked so i dropped database then created it again and then i tried to use the contributed howto for post-nuke that is if somehow it might work... but bad luck, it didnt!

is there a step-by-step howto for phpnuke for sme5.6 that really works? im using post-nuke before but im not happy with it coz when ill include a picture using its url or even smiles in my news, only the html codes or the url will come out if my viewers view my site.

anyone got an idea how to fix my problem in post-nuke? coz if someone do, i will go back to post-nuke but if its an idea how to fix my problem with php-nuke, im pursue using php-nuke...

pls help. thanks!

Arjay

Henrik

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #1 on: September 25, 2003, 03:34:39 PM »
It sounds like you have the wrong permissions - a blank page is normal in a php page when it cannot execute the scripts.

/Henrik

Doug M.

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #2 on: September 26, 2003, 05:53:07 AM »
Your need to do the following:

PART ONE: Set up a user with access to the sql database you create for phpnuke.
--------------------------------------------------------------------------------------------------------
> mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 64 to server version: 3.23.49

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all on nuke.* to "PUT A USER NAME HERE"@localhost identified by 'PUT A PASSWORD HERE';

mysql> quit

>mysqladmin reload
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

PART TWO: Edit the config.php file for the data user you just added.
--------------------------------------------------------------------------------------------------------
 (Look for these entries.)
$dbhost = "localhost";
$dbuname = "PUT THE DATABASE USER NAME HERE";
$dbpass = "PUT THE DATABASE USER PASSWORD HERE";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "AND CHANGE THE SITE KEY";
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

Jan

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #3 on: September 26, 2003, 02:57:31 PM »
I had similar problemswith 6.7. Strangely enough reverting to 6.5 solved it. I installed it exactly as sugested here and used other howto's as well. Tried the user and database setup also did all the chmodding no succes there.

If it works for you please let me know and I will give it another try soon myself.

regards,

Jan

NTBlade

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #4 on: September 26, 2003, 03:20:39 PM »
I had this blank page problem too but I'm sorry I can't remember exactly how I solved it.  I'm sure that I had to setup up my database as user admin and with the same password as the system admin.  My config.php looks like this...

$dbhost = "localhost";
$dbuname = "admin";
$dbpass = "mypassword";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";

Give this a try.  Remeber to change the user / pass in the mysql database

Hope this helps
:-)

Doug M.

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #5 on: September 27, 2003, 01:39:41 AM »
PHP-Nuke - SME ibay mini-howto.


SET UP IBAY (using server manager)
--------------------
Information bay name         -  nuke
Description                  -  My Happy Little PHP Nuke Site
Group                        -  Everyone
User access                  -  Write = group, Read = everyone
Public access via web        -  Entire internet (no password required)
Execution of dynamic content - enabled



INSTALL PHPNUKE (logon to console)
------------------------------
[server /]# cd /home/e-smith/files/ibays/nuke/html/

[server html]# mysqladmin create nuke

[server html]# cd sql

[server sql]# mysql nuke < nuke.sql

[server sql]# cd ..

[server html]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 64 to server version: 3.23.49

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all on nuke.* to phpnuke@localhost
     > identified by ‘password';

mysql> quit

[server html]# mysqladmin reload

[server html]# wget http://easynews.dl.sourceforge.net/sourceforge/phpnuke/PHP-Nuke-6.8.tar.gz

[server html]# tar -zxf PHP-Nuke-6.8.tar.gz


[server html]# mv html/* ./

[server html]# rmdir html

[server html]# pico config.php
------------------------------------------------------------------------------------------
   UW PICO(tm) 4.2                File: config.php            Modified
------------------------------------------------------------------------------------------
#               db2 and mssql-odbc
#               Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey:     Security Key. CHANGE it to whatever you want, as long
#               as you want. Just don't use quotes.
######################################################################

$dbhost = "localhost";
$dbuname = "phpnuke";
$dbpass = "password";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";

/*********************************************************************/
/* You finished to configure the Database. Now you can change all    */
/* you want in the Administration Section.   To enter just launch    */
/* you web browser pointing to http://yourdomain.com/admin.php       */
File Name to write : config.php
^G Get Help  ^T  To Files
^C Cancel    TAB Complete
--------------------------------------------------------------------------------------------------
[server html]# chmod 666 ultramode.txt



LOGON TO SITE
-------------
Fire to your browser and go to http://mysite/nuke/ and setup your admin account.

Doug M.

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #6 on: September 27, 2003, 11:48:26 PM »
Sorry,


[server html]# cd sql

[server sql]# mysql nuke < nuke.sql

[server sql]# cd ..


should go after

[server html]# tar -zxf PHP-Nuke-6.8.tar.gz


in the mini-howto

James Shields

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #7 on: October 03, 2003, 01:54:53 PM »
Absolutely fantastic HowTo. Followed the instructions and I now have PHP-Nuke 6.9 running on SME 5.6. Just need to learn how to use it !!

janusz

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #8 on: October 18, 2003, 05:26:41 PM »
I fired my browser and I setup my admin account eg. write login, password and finally I can't launch admin account. What's the matter?
--
Janusz K.

Jan

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #9 on: November 07, 2003, 02:57:24 PM »
I got the same error..... or rather the lack of it. It simply returns with a fresh login sreen for www.mysite.com/admin.php . If this can be solved easily please anyone tell me ... us ;-)

Tried post-nuke and all was well at first but now I get pages where only the _name of the button is shown not the button itself. So maybe as a fallback position I would also really like to know how to fix that as well.

I got PHPNuke 6.5 to work just fine but newer version always fail at the admin login. Very anoying, frustrating ........ .......complete dispair.

So any help is very much appreciated.

Regards,

Jan

PS does anyone know which permissions (in numbers like 666 ) files need to have for it to work in SME? I suspect the problem lies in the permissions not sure anymore though.

Janusz

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #10 on: November 08, 2003, 12:39:58 AM »
I solved the problem. Do not enter ID of admin as "admin". I use PHP Nuke 6.9 and I think all works good.

Best wishes
Janusz

Jan

Re: php-nuke 6.7 work work in sme5.6? (and a little problem
« Reply #11 on: November 08, 2003, 12:57:49 AM »
Janusz,

Thanks, I will try that ..... weird though you'd expect you can use that name but if I understand you correctly you can't. Anyway.... for now I am taking a look at e107.org's CMS got it working without a hitch .....knock on wood. ;-)

Setup is straightforward and very similar to phpnuke. Maybe even simpler.
Thanks again for your respons.

Regards,

Jan