Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Installation problems!

Last post 07-11-2011, 8:46 PM by jfrbetatesteur. 7 replies.
Sort Posts: Previous Next
  •  04-14-2011, 7:35 AM 67158

    Installation problems!

    Hi,
    i have a problem deploying this script. After uploading everything and changing permissions the site shows up, but the default gallery can not be found! The Javascript Console shows this error: "
     
    Webpage error details

    Message: 'GalleryBrowser' is undefined
    Line: 74
    Char: 1
    Code: 0
    URI: http://www.caoba-objekt.com/Classic-Layout.php


    Message: Object expected
    Line: 71
    Char: 29
    Code: 0
    URI: http://www.caoba-objekt.com/Classic-Layout.php

     Can you please tell me what i m doing wrong.
    Regards
    Filed under:
  •  04-14-2011, 8:15 AM 67159 in reply to 67158

    Re: Installation problems!

    Hi cosy,
     
    I tested your site,
    and I found that the gallery script link is wrong.
     
    You can open Classic-Layout.php
    about line 43 to line 59
    these links should be 'phpgallery/...', please remove 'homepages/11/d318517037/htdocs'.
    so the scripts and links can be loaded correctly.
     
    Regards,
    Jeff
  •  04-14-2011, 8:30 AM 67161 in reply to 67159

    Re: Installation problems!

    Hi,
    thanks for the reply, but this links i changed in the index.php file at "$gallery->GalleryFolder="defaultalbum";. It was just for testing purpose!
    I changed it back, still no images. Can u tell a bit more detailed what to do here (//must declare the gallery and set property here! for ajax request).
    Regards,
    Cos
    Filed under:
  •  04-14-2011, 8:43 AM 67163 in reply to 67161

    Re: Installation problems!

    Hmm,
    the links are still wrong! I think it is not the index file, it should be some serverside php thing. The original Classic-Layout file is untouched!
     
     
  •  04-14-2011, 9:45 AM 67164 in reply to 67163

    Re: Installation problems!

    Hi cosy,
     
    the script path is create at  phpgallery/include_phpgallery.php, line 44
    $this->GalleryClient=dirname(dirname($this->Uploader->ResourceDirectory))."/resources";
     
    '$this->Uploader->ResourceDirectory' is in phpgallery/phpuploader/include_phpuploader.php, line 397
    $this->ResourceDirectory="$cd/resources";
     
    this gets a wrong dir on the server
     
    you can change $this->GalleryClient=dirname(dirname($this->Uploader->ResourceDirectory))."/resources"; to $this->GalleryClient="phpgallery/resources"; 
    so it will display the gallery.
     
    Hope it helps.
     
    Regards,
    Jeff
  •  04-14-2011, 12:00 PM 67168 in reply to 67164

    Re: Installation problems!

     
    OK, thanks a lot!
     
    That worked! Now the gallery is shown up!!!
     
    Regards
    Cosy
    Filed under:
  •  07-11-2011, 2:26 AM 68404 in reply to 67164

    Re: Installation problems!

    Jeff:
    Hi cosy,
     
    the script path is create at  phpgallery/include_phpgallery.php, line 44
    $this->GalleryClient=dirname(dirname($this->Uploader->ResourceDirectory))."/resources";
     
    '$this->Uploader->ResourceDirectory' is in phpgallery/phpuploader/include_phpuploader.php, line 397
    $this->ResourceDirectory="$cd/resources";
     
    this gets a wrong dir on the server
     
    you can change $this->GalleryClient=dirname(dirname($this->Uploader->ResourceDirectory))."/resources"; to $this->GalleryClient="phpgallery/resources"; 
    so it will display the gallery.
     
    Hope it helps.
     
    Regards,
    Jeff
     
    Hello.
     
    This solves the problem has Moitiers but still can not upload the problem is GetWebPath wrong path for Ajax!.

    I tested the change on all 10 servers is ok now after the change.


    salvation
     
  •  07-11-2011, 8:46 PM 68410 in reply to 67159

    Re: Installation problems!

    Jeff:
    Hi cosy,
     
    I tested your site,
    and I found that the gallery script link is wrong.
     
    You can open Classic-Layout.php
    about line 43 to line 59
    these links should be 'phpgallery/...', please remove 'homepages/11/d318517037/htdocs'.
    so the scripts and links can be loaded correctly.
     
    Regards,
    Jeff
     
    Hello

    This is causeb y this line
     395 in  include_phpuploader.php   $cd=dirname($this->GetWebPath(__FILE__)) ; Ajax wrong path and this is 'homepages/11/d318517037/htdocs'.
     
    I had the same problem
     
    bye
     
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems