Hello,
Im trying to update PHPNuke 6.0 to the newer 6.8 version using the program and everything goes well until it asks me if I want to overwrite the old file, what do I do?
Thanks,
Justin.
cPanel.net Support Ticket Number:
Hello,
Im trying to update PHPNuke 6.0 to the newer 6.8 version using the program and everything goes well until it asks me if I want to overwrite the old file, what do I do?
Thanks,
Justin.
cPanel.net Support Ticket Number:
With all due respect Dude ... What the hell has that got to do with SSH???
You need to go to the Nuke Forum for this ... Just because it's an Add-On Script doesn't mean the support is found here.
cPanel.net Support Ticket Number:
Hello,
It has to do with SSH, because you have to use ssh to run the script.. and the overwrite file command in """""SSH"""" has nothing to do with PHPNuke.. b/c i dont use phpnuke to overwrite the file on the server... it uses ssh...
the code that is used is below:
With all due respect, before you get pissed, try asking questions first.#!/bin/sh
# getnuke.sh
# Al Smith 09-01-2003
# Update cPanel PHP Nuke pkg.tar.gz file to current version
Version=PHP-Nuke-6.8.tar.gz # Version to fetch
NukeHome=/usr/local/cpanel/addons/PHP-Nuke # Cpanel addon dir for Nuke
NukeFile=pkg.tar.gz # Cpanel file name
Source=http://unc.dl.sourceforge.net/sourceforge/phpnuke
mkdir /tmp/Nuke # Temporary folder
cd /tmp/Nuke
wget $Source/$Version # Get the version from sourceforge
tar zxvf *.gz
mv *.gz /tmp # move the .gz file out
tar cvfz $NukeFile * # Create the pkg file
cp $NukeFile $NukeHome # Copy the pkg to the Nuke Home
rm -rf /tmp/Nuke # Clean up the mess
#
# End
#
Thanks,
Justin.
cPanel.net Support Ticket Number:
... still doesn't have anything to do with ssh. You are trying to run a shell script. You'll have to ask this on the phpnuke forum because only they could tell you if it is ok to overwrite the file or whether to delete it before you run the script or whatever.