Welcome, Guest
Please Login or Register.
Lost Password?
Install Scripts (1 viewing)
Post Reply

TOPIC: Install Scripts

#9109
sfischer (User)
Posts: 10
graphgraph
Install Scripts 2007/12/20 05:56  
As I move around Virtualmin more, I am getting much more comfortable with it. I am finding lots of treasures. Hopefully my questions will stop soon.

This question is about install scripts. Some of my clients use an open source program called Plogger for their photo galleries. I am wanting to move these last few users from my old server, which doesn't use Virtualmin, to my new one that does. I would like to be able to install Plogger automatically, then move the data from their dbs to the new server. I followed the instructions on how to make an install script. I used the wordpress.pl file, copied it to plogger.pl and changed all the instances of wordpress to plogger etc.

I tried to add it to the list of available scripts, and it says that it was added successfully. I go to the disable scripts page and find that there is a blank line at the bottom, with a check mark to the left. There is no name. So I try to enable it. As soon as I hit save, the page reloads, and the script is still disabled. I have no idea if my script works, because I cannot see it to test it.

What am I doing wrong?

Any help with this would be greatly appreciated.

Shanon
  The administrator has disabled public write access.
#15656
rawww (User)
Posts: 69
graphgraph
Re:Install Scripts 2008/08/13 22:01  
Did you rename all instances - try to find string "wordpress" in your plogger.pl file and check that you got right catetgory and right name in functions you have written (or changed). Myself I am doing scripts by batch substitution of "wordpress" to "plogger" and than check install process and modifie it to fit new OS software. Or you attache your script here and I will check it for you. ;o)
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.