Support » Plugins » Ethan’s Photo Upload hack/rewrite (please help!)

  • If any of you have used this, could you please help me with a problem I’m having? (Ethan says he doesn’t currently have time to look at the hack/rewrite.)
    The hack’s/rewrite’s URL:
    My problem: If I go into the plugins menu and hit “activate” for his hello.php, it says it activates it, but when I try to go into any other menu, it loads a blank page, making it so I can no longer use any menus after I activate it. (!) The hello.php code is as follows:
    Plugin Name: photo upload
    Plugin URI:
    Description: this puts a file upload button on the quick tags bar.
    Author: Ethan King
    Author URI:
    // We need some CSS to position the paragraph
    function launch_pu() {
    echo "
    <script type='text/javascript' language='javascript'>
    function launchupload() { ('/family/pu-upload.php', 'wpupload', 'width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0');
    add_action('admin_head', 'launch_pu');

    Does that look okay? If so, it must be a problem with one of the other files, so I’m really hoping it’s a problem with this one. =(
    I would appreciate any help. TiA!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)


    Support Maven

    ‘hello.php’ ?
    That is the name of a default plugin (Hello Dolly by Matt). Have you tried renaming this plugin ?

    podz – Thanks for writing!
    I don’t know how renaming it would help, as his files are a rewrite of the original WP. (“hello.php” is the file that was included in his zip; I installed his whole zip – the whole WP – from scratch, so no other “hello.php” was involved.) If I were to rename the file, what would I rename it to? I don’t know what files, if any, access it, so I don’t know if changing the name would affect anything or not. ?

    Mark (podz)


    Support Maven

    Ah.. didn’t realise, so renaming isn’t a cure.
    Have you uploaded any other plugins ? They could be conflicting maybe ? It’s just a guess though I’m afraid.

    podz – Thanks again for writing.
    I tried it first thing after install. (And a number of times since then, modifying little things, then reverting back when they didn’t work.) No dice. =~(

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ethan’s Photo Upload hack/rewrite (please help!)’ is closed to new replies.