Results 1 to 4 of 4

Thread: Fatal error: Call to a member function getImageURL() on a non-object in /hermes/boswe

  1. #1
    danishsoomro is offline Junior Member
    Join Date
    Jun 2010
    Posts
    2

    Default Fatal error: Call to a member function getImageURL() on a non-object in /hermes/boswe

    Please help me

    while installking the sugar CE 5.5.2 version, everything goes fine during installation but after the Optional registration form when i clicked NEXT to login page it shows me following error... I did re-install several times but same problem


    Fatal error: Call to a member function getImageURL() on a non-object in /hermes/bosweb/web151/b1513/ipg.businessasdsacom/sugar/include/language/en_us.lang.php on line 1136

    I have not added any module, no any modifications i did.. it was simple, download & upload and run setup process...

    I have the following cofigs
    MySQL version 5.0
    PHP version 5.0
    OS : runs UNIX-based operating systems, such as Debian Linux 4.0 on Apache web servers
    SugarCE : 5.5.2


    HOSTED BY : IPAGE hosting

    PLEASE HELPPPPPPPPPPPPP MEEEEEEEEEEEEE

  2. #2
    chinwoei's Avatar
    chinwoei is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    91

    Default Re: Fatal error: Call to a member function getImageURL() on a non-object in /hermes/b

    Quote Originally Posted by danishsoomro View Post
    Please help me

    while installking the sugar CE 5.5.2 version, everything goes fine during installation but after the Optional registration form when i clicked NEXT to login page it shows me following error... I did re-install several times but same problem


    Fatal error: Call to a member function getImageURL() on a non-object in /hermes/bosweb/web151/b1513/ipg.businessasdsacom/sugar/include/language/en_us.lang.php on line 1136

    I have not added any module, no any modifications i did.. it was simple, download & upload and run setup process...

    I have the following cofigs
    MySQL version 5.0
    PHP version 5.0
    OS : runs UNIX-based operating systems, such as Debian Linux 4.0 on Apache web servers
    SugarCE : 5.5.2


    HOSTED BY : IPAGE hosting

    PLEASE HELPPPPPPPPPPPPP MEEEEEEEEEEEEE

    hi danishsoomro,

    just ignore the error will do.
    try to access your sugarcrm instance, i think you should able to use the system.
    I am from iZeno Pte Ltd
    Personal Site: Technical Sharing
    SugarForge Project:
    iZeno SMS : http://www.sugarforge.org/projects/izeno-sms/

  3. #3
    mcmlxxii's Avatar
    mcmlxxii is offline Sugar Community Member
    Join Date
    Jul 2009
    Posts
    21

    Default Re: Fatal error: Call to a member function getImageURL() on a non-object in /hermes/b

    In case anyone stumbles across this thread, it's worth checking the default theme in the config.php if you hit this problem when upgrading.

  4. #4
    gorave is offline Junior Member
    Join Date
    Dec 2011
    Posts
    5

    Default Re: Fatal error: Call to a member function getImageURL() on a non-object in /hermes/b

    hey...im getting tis error

    Fatal error: Call to a member function login() on a non-object in G:\wamp\www\integration\SugarSoap.php on line 27
    ....
    tis is my code

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    </head>
    <body>
    <?php

    require_once("G:/wamp/www/nusoap-0.9.5/lib/nusoap.php");
    class SugarSoap {
    var $proxy;
    var $sess;
    // var $soap_url='http://localhost/SugarCE-Full-6.4.0beta6/soap.php';
    function SugarSoap($soap_url='G:/wamp/www/SugarCE-Full-6.3.1/soap.php?wsdl',$login=true) {
    $soapclient = new soapclient($soap_url,true);
    $this->proxy = $soapclient->getProxy();
    if($login) $this->login();
    }
    //1fece0cb254f1f45891bc9ee9fed72a9
    function login() {
    $params = array(
    'user_name' => 'admin',
    'password' => 'crm',
    'version' => '6.3.1'
    );
    ERROR HERE------>>>> $result = $this->proxy->login($params,'example.php');
    $this->sess= $result['error']['number']==0 ? $result['id'] : null;
    return $this->sess;
    }

    function getContacts($query='',$maxnum=3,$orderby='contacts .last_name asc') {
    $result = $this->proxy->get_entry_list(
    $this->sess,
    'Contacts',
    $query,
    $orderby,
    0,
    array(
    'id',
    'first_name',
    'last_name',
    'account_name',
    'account_id',
    'email1',
    'phone_work',
    ),
    $maxnum,
    false
    );
    return $result;
    }
    function nameValuePairToSimpleArray($array){
    $my_array=array();
    while(list($name,$value)=each($array)){
    $my_array[$value['name']]=$value['value'];
    }
    return $my_array;
    }

    function setEntry($module,$array){
    $data_array=array();
    while(list($name,$value)=each($array)){
    $data_array[]= array(
    'name' => $name,
    'value' => $value
    );

    }
    $result = $this->proxy->set_entry(
    $this->sess,
    $module,
    $data_array
    );
    return $result;
    }
    function setContact($array){
    return $this->setEntry("Contacts",$array);
    }
    }
    ?>


    </body>
    </html>

    ANOTHER FILE: THRU WHICH IM GETTING DATA.


    <?php
    require_once("G:/wamp/www/integration/SugarSoap.php");
    $soap=new SugarSoap('http://localhost/SugarCE-Full-6.3.1/soap.php?wsdl'); // we automatically log in
    $result=$soap->getContacts(" Contacts.email1<>'' ",5," Contacts.last_name desc");
    if($result['result_count']>0){
    foreach($result['entry_list'] as $record){
    $array= $soap->nameValuePairToSimpleArray($record['name_value_list']);
    echo $array['first_name'] . " " . $array['last_name'] . " - " . $array['email1']. "<br>";
    }
    } else {
    echo "No contacts found";
    }
    ?>


    ...THANKS IN ADV...PLS LET ME KNW AT THE EARLIEST.....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 2010-01-19, 01:41 AM
  2. Replies: 2
    Last Post: 2008-02-27, 09:34 PM
  3. Replies: 4
    Last Post: 2006-09-26, 02:21 PM
  4. Replies: 0
    Last Post: 2005-12-18, 08:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •