Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: tstarkey on October 04, 2001, 03:45:59 PM
-
I set up PHPnuke 5.2 last night on my caldera 3.1 workstation pc, with little pain at all.....So I decided, why not use my new found program and set it up on the work Intranet/Internet site.....In theroy it worked....but when i log into the site http://mycompany.mydomain/admin.php I actually see the php script, not the page like on my caldera pc. I tried it with chmod -R 555, and chmod -R 777, and chmod -R 755....it has got me stumped.....
Oh please help me....
Troy
-
Have you made sure the iBay in question where you configured PHPnuke is setup to allow execution of PHP, CGI, etc...?
See the SME / e-smith documentation here:
http://www.e-smith.org/docs/manual/5.0/ibaycreation.html
-
If you happen to be running 4.1.2, visit the bugs section and look up the know bug "PHP doesn't work in Primary i-bay". There is a fix to this problem in the download area.
-
Thanks, I'll give them both a go....If you don't hear back from me, it all worked fine....Thankyou for your reply's :)
-
Thanks heaps for your help.....I ended up fixing the problem, it was with MySQL database accessing the nuke database....
But, with a quick visit over to www.mysql.com it appears that all i had to do was grant myself privileges to view the database....for those in the same boat a myself, i shall let them in on a little secret...
1) first create the iBay, as stated in the message by Mike Kelly (thanks Mike)
2) untar your PHPNuke in your new ibay.
3) chmod 666 all files and 777 all directoried relating to the phpnuke site.
4) cd \to\your\ibay\html\sql and list the directory contents, and verify that you can see a file called "nuke.sql"
5) type mysqladmin create nuke
6) type mysql nuke < nuke
7) and this is the part that was most needed and made everything work for me......
shell> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO root@localhost;
if that doesn't work, try replacing root with admin :)
8) cd \to\your\ibay\html\nuke and vi your config.php.....all you need to change is your domain....the localhost should work fine... Well, it did for me, and I am OVER THE MOON WITH HAPPINESS !!!
Thanks for your time, and I hope I have helped out with this indepth installation.....
Troy Starkey
http://www.bowenbytewise.com.au