Results 1 to 10 of 10

files to edit don't exist on our server - there's more

This is a discussion on files to edit don't exist on our server - there's more within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; First of all lemme say I've searched the forum and the user manual, and have tried the fixes and/or solutions ...

      
  1. #1
    bbw
    bbw is offline
    New Member
    Join Date
    Feb 2006
    Location
    Texas
    Posts
    17
    Rep Power
    0


    Default files to edit don't exist on our server - there's more

    First of all lemme say I've searched the forum and the user manual, and have tried the fixes and/or solutions I found but to no avail! The problem is that I've inherited a client's cart that someone else installed and fiddled with so I'm left with what he has already put in place. I do believe I have version 2.0, and I'm finding some strange things.

    First: Need to change the header graphic and found instructions on how to call a new one once I've created it. User manual says to open includes/header.php to edit - that file does not exist on our server with the other cart files. What is up with that? Should I just reload the header.php file out of the un.zipped files and go from there? What is the size requirement for the header graphic anyway?

    Second: Our info box has three text/links that I wish to remove. I found instructions for adding new boxes and their links. Attempted to use this info to try and edit the files for the existing info box stuff, but it would not work. I believe this one is a case of I didn't do it correctly anyway, but I still found what I believe to be slightly "not the norm" stuff in those files I did try to edit. So I need instructions on how to edit the info box to remove some of the links and that is all. Once I see the correct instructions for exactly what I'm trying to do, I'll know if it is me or not messing it up.

    Third: I continue to get the pink warning at the top that the configure.php file can be written to. I have changed the permissions to 644 and that is how it remains, but I still get the pink warning. I have tried a couple of other permission variations, but still the same. Is this a server issue for the host or is this something you guys can help me with?

    There are a couple of other imperfections that I will be dealing with but these are the biggies. Thanks in advance for any help anyone can offer with this stuff!
    Thanks again
    bbw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    knowledge is power - teach me

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    21


    Default RE: files to edit don

    1) header.
    It's a BTS system, look in main_page.tpl.php in the main template directory you are working with

    2) editing infoboxes
    depends on the inforbox you are working with. Some are hardcoded, some are not. If hardcoded you want to work with the files in /includes/boxes

    3) file writable
    play with the chmod until the message goes away.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    bbw
    bbw is offline
    New Member
    Join Date
    Feb 2006
    Location
    Texas
    Posts
    17
    Rep Power
    0


    Default

    1. After looking in all the folders in the darn cart, I found all the template folders have this file. I finally figured out which template they are using and found where to put my header edits AND the image too.

    2. It is the infobox that actually says Information and has the shipping/return, privacy policy, etc. Don't know if it is hard coded or not - how do I tell? The edits I've tried on the includes/boxes/information.php file have produced undesired results. And all I've done is remove the line that has the text/link I want gone - if all I do is edit that one file, it gives me some gibberish when I render the cart in my browser... If I remove all three lines that I want gone, I get a duplicate login box instead of the "information" box!

    3. I have. I've tried everything.

    Thanks for the help! Anyone else?
    bbw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    knowledge is power - teach me

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    3. chmod 444
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    bbw
    bbw is offline
    New Member
    Join Date
    Feb 2006
    Location
    Texas
    Posts
    17
    Rep Power
    0


    Default

    3. nope - tried again just to make sure and it still isn't working. I can see it when I change it and the changes are taking effect on the server - I don't get it! I'm sure I'm changing the right file according to the path name the error message is giving me.
    I'm not a newbie at EVERYTHING! I can do this stuff with my hands tied behind my back - as it were...
    thanks
    bbw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    knowledge is power - teach me

  6. #6
    bbw
    bbw is offline
    New Member
    Join Date
    Feb 2006
    Location
    Texas
    Posts
    17
    Rep Power
    0


    Default

    Hey look at this from the osc forum:
    http://forums.oscommerce.com/index.p...165080&amp;hl=

    what would be the oscmax equivalent of this?
    bbw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    knowledge is power - teach me

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    How about more info. What os are you running? What web server?
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    bbw
    bbw is offline
    New Member
    Join Date
    Feb 2006
    Location
    Texas
    Posts
    17
    Rep Power
    0


    Default

    Server OS: Linux 2.6.9-22.0.2.ELsmp
    Database: MySQL 4.1.14-standard-log
    HTTP Server: Apache/1.3.34 (Unix) mod_fastcgi/2.4.2
    PHP Version: 4.4.1 (Zend: 1.3.0)
    And it is with Bluehost.com for the service...

    Sorry! Got this directly from the oscmax admin server info...
    bbw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    knowledge is power - teach me

  9. #9
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    If you have too....

    Change application_top.php botton of file:

    Code:
    // set which precautions should be checked
      define&#40;'WARN_INSTALL_EXISTENCE', 'true'&#41;;
      define&#40;'WARN_CONFIG_WRITEABLE', 'true'&#41;;
      define&#40;'WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true'&#41;;
      define&#40;'WARN_SESSION_AUTO_START', 'true'&#41;;
      define&#40;'WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true'&#41;;
    ?>
    Change to:
    Code:
    // set which precautions should be checked
      define&#40;'WARN_INSTALL_EXISTENCE', 'true'&#41;;
      define&#40;'WARN_CONFIG_WRITEABLE', 'false'&#41;;
      define&#40;'WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true'&#41;;
      define&#40;'WARN_SESSION_AUTO_START', 'true'&#41;;
      define&#40;'WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true'&#41;;
    ?>
    Save. Now that warning will NEVER come up. However that also does not mean the file is web save....

    Good Luck.

  10. #10
    bbw
    bbw is offline
    New Member
    Join Date
    Feb 2006
    Location
    Texas
    Posts
    17
    Rep Power
    0


    Default

    Thank you - I will only use as a last resort. I now also have requested bluehost.com take a look for me to see what I'm missing. I will wait for their response before I decide what to do next.
    Thanks so much to you all.
    bbw
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    knowledge is power - teach me

Similar Threads

  1. Losing ability to view webpage when I edit php files
    By ajljhall in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 07-13-2005, 08:33 AM
  2. How do I edit these files?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-03-2004, 02:18 PM
  3. SQL file does not exist:
    By spearhead in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 02-29-2004, 09:44 AM
  4. not able to edit files in admin
    By not-so-simple in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 08-29-2003, 08:51 AM
  5. SQL file does not exist
    By dino in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 03-04-2003, 03:11 PM

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
  •