Menu

Install / config file update problems Redhat

Help 2.02
2003-12-11
2003-12-12
  • Julian Young

    Julian Young - 2003-12-11

    I downloaded the distribution and tared it into /var/www/htl/shop on my redhat system

    chreated a mysql databas "theshop"  granting al privlages to the user "shop" pasword, you guesed it, "shop"

    then started up localhost/shop/admin

    for some reashon evern when i char the shop dir chmoded -R 777  it still does not seem to be able to create the config files.

    well the adin application now seens to run. with the follow message ;
    Derzeit verwendete Parameter (config.inc.php):

        * $version = 2.02;
        * $db_type = mysql;
        * $db_host = localhost;
        * $db_user = shop;
        * $db_pass = *****;
        * $db_name = theshop;
        * $order_mail = order@phpay.de;
        * $shop_mail = shop@phpay.de;
        * $mailcheck = 1;

        * $bgcolor1 = #EEEEEE;
        * $bgcolor2 = #000000;
        * $bgcolor3 = #220000;
        * $bgcolor4 = #553355;
        * $bgform = #F7F7F7;
        * $aacolor = #FF0000;
        * $logo = img/phPayV2.gif;
        * $site_name = phPay 2.0;
        * $site_title = phPay - Demo in action.;
        * $hp_url = http://www.sourceforge.net/projects/phpay;

        * $nav_width = 165;
        * $nav_horiz = 0;
        * $tree = 2;
        * $showcart = right;
        * $show_null = 0;
        * $clg = 0;
        * $chg_lang = 1;
        * $chg_cur = 0;
        * $automail = 1;
        * $max_item = 20;
        * $view_limit = 20
        * $litems = show_item_0.inc.php
        * $psm_cursym = Euro
        * $use_stock = 1
        * $auto_convert = 1
        * $dflt_lang = 2
        * $dflt_cur = 1

        online: Table is already up to date
        cart: Table is already up to date

    However everything is in german and it never seems to update andy of the config files, probably the reason i had to go to this extent in the first place.

    is this some special protection in php? apachie? redhat ?
    any idears i can try

    any tips most welcome

    I modified a copy of the creat_db pho to function on it's own and that created the dbms quite nicely

    I created my own db_inc and that semed to work,

    i copied the config_inc.php.orig to config_inc.php

    I changerd  $dflt_lang to 2

    however                                                                                                                                                  require("config_system.inc.php");   is nowhare to be seen. so i have no idear what should be in it.  so i tried

    shell>touch config_system.inc.php

    anyhow

    however the other config files  seem to update

     
    • Andreas Kansok

      Andreas Kansok - 2003-12-11

      Please have a look at http://sourceforge.net/forum/forum.php?thread_id=938723&forum_id=121974

      From point 6 it is platform independent ...

      Your main problem is:
      register_globals = Off
      Switch to On and everything is fine.

      Greetings,
      Andreas.

       
    • Julian Young

      Julian Young - 2003-12-12

      Thanks that fixed it

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.