From: Jensen N. <jen...@pi...> - 2009-11-19 06:19:48
|
Unfortunately, it doesn't work for me :( well i guess i just have to wait for the domain transfer to complete. Regards, Jensen Franky Van Liedekerke wrote: > Tried it here, and got it to work in a funny way :-) > > $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . > $ESPCONFIG['HTTP_HOST'] . > '/$'.'sitepreview/sst.edu.sg/modules/phpESP/; > > This is: seperate the "$" from the rest of the string, so it doesn't > get interpreted. Works ok here. > > Franky > > > On Thu, 19 Nov 2009 02:34:37 +0800 > Jensen Neo <jen...@pi...> wrote: > > >> sure man, thanks a lot. >> >> Will update you again if I get more clues. >> >> Franky Van Liedekerke wrote: >> >>> well ... I'll try to reproduce this myself, we'll see what >>> happens :-) >>> >>> On Thu, 19 Nov 2009 01:35:56 +0800 >>> Jensen Neo <jen...@pi...> wrote: >>> >>> >>> >>>> Hi Franky, >>>> >>>> Well i updated it to 2.1.3 as well as tried both configuration >>>> changes but doesn't seem to solve the issue. >>>> However, i noticed another configuration which may be the cause >>>> '$ESPCONFIG['ME'] which is pointing to $SERVER['PHP_SELF']. >>>> >>>> anyway its locked in .fixed. I can't seem to override it using >>>> the configuration file. >>>> >>>> Regards, >>>> Jensen >>>> >>>> >>>> Franky Van Liedekerke wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> 2 things: >>>>> - upgrade to 2.1.3 already (or the SVN version, which contains >>>>> all fixes so far). >>>>> - the issue is indeed with the $-sign. What you can do is escape >>>>> the sign in the base_url: >>>>> >>>>> $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . >>>>> $ESPCONFIG['HTTP_HOST'] . >>>>> '/\$sitepreview/sst.edu.sg/modules/phpESP/ >>>>> <http://sst.edu.sg/modules/phpESP/>'; >>>>> >>>>> or use the HTML-equivalent for it: >>>>> >>>>> $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . >>>>> $ESPCONFIG['HTTP_HOST'] . >>>>> '/$sitepreview/sst.edu.sg/modules/phpESP/ >>>>> <http://sst.edu.sg/modules/phpESP/>'; >>>>> >>>>> I would try one of these to start... >>>>> >>>>> Franky >>>>> >>>>> On Wed, Nov 18, 2009 at 11:20 AM, Jensen Neo >>>>> <jen...@pi... >>>>> <mailto:jen...@pi...>> wrote: >>>>> >>>>> Hi Franky, >>>>> >>>>> My apologies. I wasn't too sure what sort of information would >>>>> be require. >>>>> Well, my site is at >>>>> http://116.12.48.137/$sitepreview/sst.edu.sg/modules/phpESP/admin/manage.php. >>>>> You can try it out over there. >>>>> For the config files, basically i have added the following in >>>>> additional to the common db login. >>>>> >>>>> // use http or https? >>>>> $ESPCONFIG['proto'] = 'http://'; >>>>> $ESPCONFIG['HTTP_HOST'] = '116.12.48.137'; >>>>> >>>>> // Base URL for phpESP >>>>> $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . >>>>> $ESPCONFIG['HTTP_HOST'] . >>>>> '/$sitepreview/sst.edu.sg/modules/phpESP/ >>>>> <http://sst.edu.sg/modules/phpESP/>'; >>>>> >>>>> I have added the above as I realise the css is not being >>>>> loaded using the default values. I have suspected that issue >>>>> could be because of my current URL '$sitepreview' which >>>>> unfortunately I don't have a way to resolve it as the domain >>>>> transfer could only be complete in another few days time. >>>>> >>>>> >>>>> Regards, >>>>> Jensen >>>>> >>>>> Franky Van Liedekerke wrote: >>>>> >>>>> >>>>>> On Wed, Nov 18, 2009 at 10:17 AM, Jensen Neo >>>>>> <jen...@pi... >>>>>> <mailto:jen...@pi...>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I am having some problems with my phpesp. Everything well >>>>>> and fine on my >>>>>> development machine. >>>>>> However, after migration to the test server, I can't seem >>>>>> to get past >>>>>> the create survey 'general' tab. >>>>>> It simple re-route me by to the manage page and no >>>>>> records are created >>>>>> in the db. >>>>>> >>>>>> somebody help please... >>>>>> >>>>>> >>>>>> I'm very sorry, but you don't give us much to go on. I would >>>>>> recommend you check your config files and your webserver >>>>>> logs. >>>>>> >>>>>> Franky >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Let Crystal Reports handle the reporting - Free Crystal >>>>>> Reports 2008 30-Day trial. Simplify your report design, >>>>>> integration and deployment - and focus on what you do best, core >>>>>> application coding. Discover what's new with Crystal Reports now. >>>>>> http://p.sf.net/sfu/bobj-july >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> phpESP-general mailing list >>>>>> php...@li... >>>>>> <mailto:php...@li...> >>>>>> https://lists.sourceforge.net/lists/listinfo/phpesp-general >>>>>> >>>>>> >>>>> >>>>> >>> >>> > > |