Jump to content

bsmither

Member
  • Posts

    17,989
  • Joined

  • Last visited

  • Days Won

    603

Posts posted by bsmither

  1. I can guess that the form is a third-party mod thats installed based on a declared path at the time of the mod's purchase. Maybe you said the form is for "domain", and the publisher gave you a key (or hard-coded it) for "domain", but you installed it at "domain/path".

    Dunno.

  2. I'm looking for the code in FCKEditor that replaces \n with <br/>. I've globally scanned the rte folder for "br/" (without the quotes) and all I find is a commented out section.

    I'm experiencing an anomaly where my e-mail reader is (probably) not properly interpreting <br/>, thus running all text together into one line. (Well, except where <p> and </p> is used.)

    To try to fix this, I want to change the editor code to use <br-space-/> where -space- is a space character.

    Any ideas what file I can find this in?

    CC 3.0.15 with FCKEditor 2.4.3 (although this happens with the stock RTE as well).

  3. Ok, try this:

    .txtDefault a {
    
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    
    	color: #00FF00;
    
    	text-decoration:none;
    
    }
    
    .txtDefault a:hover, {
    
     	font-family: Verdana, Arial, Helvetica, sans-serif;
    
    	color: #FF3300;
    
    	text-decoration:none;
    
    }

    Put these after the two sections I mentioned earlier. Make sure you're working in the right skin.

    Remove what you added to the top of your text document.

    Keep this:

    <div class="txtDefault">{DOC_CONTENT}</div>

  4. You copied the whole thing to another server? Including the database?

    In the database, there are a few settings that make reference to the URL and path to your site. That probably got copied over.

    Get the Config editor file from this site (look for CubeCart Config Tool in the Downloads section) and make changes to the settings that pertain to your development server.

    Also make changes to /includes/global.inc.php to point the URLS and paths to your development server.

    DO NOT TRANSFER the database or the global.inc.php file back to the live server.

  5. I'm looking at /skins/Killer/styleSheets/style.css at around line 141 where the declaration is made for "a.txtLink". The next one is for "hover". Maybe you can edit your documents and add this class to the anchor tags.

    If you have a personal css file, then see:

    skins/Killer/styleTemplates/content/viewDoc.tpl

    and wrap {DOC_CONTENT} within a "div class" corresponding to your declarations.

  6. I'm doing something similar (selling memberships). I got Email Template System and am working on modifying that product so that a successful purchase on specific items will send to the customer default log in information.

    Now, I would have had CC open the membership database and add a new record, but this database is not on the same server and isn't even the same type of database.

    The best I figure I can do is have CC also send the admin an email that is automaticallt picked up by a trouble ticket parser. The parser then loads the membership database withe the basic data.

    But it's a lot of work yet to be accomplished.

  7. include_once(/home/fone-xs/public_html/shop/classes/db.inc.php

    /home/fonexs/public_html/shop/admin/includes/auth.inc.php on line 59

    Note how in the first part of the line there is: "fone-xs" while CC is actually trying to find it at "fonexs".

    So check the global.inc.php and make sure the absolute root to your store is correct.

  8. Right. In lang.inc.php, in the $lang['front']['gateway'] array, in the 'admin_email_body_1' element, add after:

    Name: %s

    this line:

    Phone: %s

    Repeat for each language desired.

    Then in file includes/content/gateway.inc.php, add after:

    $ccUserData[0]['title']." ".$ccUserData[0]['firstName']." ".$ccUserData[0]['lastName'],

    this line:

    $ccUserData[0]['phone'],

    Do not forget the comma at the end of that line.

    This is a really minor hack and so this response to your query should be acceptable to the powers that be, against discussing modifying the code.

  9. In the file download.php, near line 44, we see that here begins the function to actually start pumping the file out of the repository and down to the browser.

    If you are putting your files in a non-public space (which you are), we see that line 62 is where we start building headers. Then the file is read into a buffer in 1MB chunks and then "printed" (presumably to the output stream).

    In your server's PHP .INI file, there is a setting called "max_execution_time" for scripts. *Maybe* in the afternoon, the server is so busy with other tasks that it takes too long to process large files within the time limit. Just a SWAG.

    Click the Server Info in your Admin page to see what your setting is.

    Now, to further experiment, place a large file in a publicly accessible place and create an ftp: or http: link to it in the digital download field of the product. CubeCart doesn't 'manage' the delivery of the file in this case. See what happens.

  10. I've been experimenting with the digital download function and have noticed that when I click the link generated by CC, I am given the absolute complete path to the file.

    For example (just an example, not for real), this shows in my browser's "Do you want to download this file" dialog box:

    "D--Inetpub-wwwroot-store_digital-testdownloadfile.txt"

    If the purpose of putting downloadable files in places outside the public accessible web space, why have the full path as part of the filename?

  11. Again, have you contacted your host (if it's not you)? There may be something new that they are not telling you.

    If it works in the morning but not later in the day, maybe you are up against your (sliding) monthly payload (served bytes) limit. Just a wild guess.

×
×
  • Create New...