Jump to content

TweezerMan

Members
  • Posts

    1,763
  • Joined

  • Last visited

Everything posted by TweezerMan

  1. I've never done a double subdomain, but it looks like you can set them up in the Subdomains section of your CPanel. To set up http://sub1.sub2.your-TCH-domain.com, you'd first create the sub2.your-TCH-domain.com subdomain. Then you'd select sub2.your-TCH-domain.com in the drop-down box next to the "Add" button and create the sub1 subdomain, which I think would give you sub1.sub2.your-TCH-domain.com. I guess you can give it a try and see if it works.
  2. If you've been able to get your original MT database restored, then you're not supposed to run mt-load.cgi at all. The mt-load.cgi script is specifically for initializing a new MT database. If you really do intend to initialize a new MT database, the error you're seeing indicates that mt-load.cgi has already been run at least once. In order to run it again, you'll need to drop (delete) all of the tables in your MT database, which you can do from phpMyAdmin in your CPanel.
  3. Welcome to the forums, cris! You don't need to remove any files from your cgi-bin directory or your public_html directory to install MT. You cannot directly use an MT 2.661 database with MT 3.17. After installing the MT 3.17 files and configuring the settings in your mt.cfg file, you'd need to first run the mt-upgrade30.cgi script, then run the mt-upgrade31.cgi script. This will convert your database to the format that MT 3.17 uses. Two things to immediately check: 1) If you unpacked the MT files on your machine, then uploaded them to the server, make sure that the MT files were uploaded in ASCII mode, except for the /images folder, and 2) Make sure that the permissions on MT's .cgi scripts are set to 0755. The mt-check.cgi script does not access a database at all, so setting up a new one would not have any affect on your problem. There is a problem with the actual mt-check.cgi file on the server. The mt-check.cgi script also does not read the mt.cfg file, so editing mt.cfg would not have any affect on your problem either. Depending on how you performed the backup, you may need to submit a ticket to the Help Desk and ask them to restore it for you. You mentioned above that you were following the instruction here on the TCH web site. Those instructions are specifically for new installations of MT. To perform an upgrade, you'd need to download the upgrade distribution from the Six Apart web site, and also run the upgrade scripts that I mentioned above. Hope this helps...
  4. Welcome to the forums, Jess!
  5. Welcome to the forums, Shriram!
  6. Welcome to the forums, narvek!
  7. Welcome to the forums, vyzer!
  8. It should be in the "Scripts Library" section of your CPanel, listed as "InvisionBoard". If you don't see it there, you'd need to submit a ticket to the Help Desk and ask them to add it to your CPanel for you.
  9. Welcome to the forums, cryptoknight! I downloaded BlackNova Traders and looked at the scheduler.php script that's supposed to be run from a cron job. The code is basically written with the assumption that it will always be called through a web server. Cron jobs don't call PHP scripts through a web server, which is why you have to use the GET command - GET calls the script through the web server just like your browser does. If you're willing to add a little code to the scheduler.php script, I believe you can successfully run it in a cron job without having to use GET. In scheduler.php, insert the following code at line 48 (right after the long block of comments and just before the first line of actual PHP code): ># Code to set PHP variables from command line arguments # Runs only if not being called through web server if (!isset($_SERVER['SERVER_PORT'])) { # Change to script directory, just like web server does chdir(dirname($_SERVER['argv'][0])); # Set $PHP_SELF from $_SERVER array value (just in case it's not) $PHP_SELF = $_SERVER['PHP_SELF']; # Iterate through passed args and set PHP variable for each one if ($_SERVER['argc'] > 0) { for ($i=1; $i < $_SERVER['argc']; $i++) { parse_str($_SERVER['argv'][$i]); } } } Then in your cron job, use the following as the "Command to run": >php -q /path/to/scheduler.php swordfish=password > /dev/null When run from a cron job, the above code will see the 'swordfish=password' on the command line and set the PHP variable $swordfish = 'password', which is what scheduler.php is expecting to see. This is what PHP does with the '?swordfish=password' part of the link when you call up scheduler.php in a web browser. You could also place this code in a separate file (with opening <?php and closing ?> PHP tags around the code), then just add an include() statement at line 48 in scheduler.php. Hope this helps...
  10. I believe adding the following to the .htaccess file in your public_html directory will do what you want: >RewriteEngine on RewriteBase / RewriteRule ^archives(.*) /blog/archives$1
  11. There may not be any other fonts available for the Countdown Clock. The CPanel help documentation has this to say about the Countdown Clock:
  12. Welcome to the forums, genX!
  13. The stylesheet for your weblog appears to be located at this URL: >http://www.4dot9.com/Blog/styles-site.css ...but your weblog's main index page is looking for it at this URL: >http://WWW.4dot9.COM/styles-site.css I think there may be a few settings you need to adjust. In your mt.cfg file, you should have the following for the CGIPath setting: >CGIPath http://www.4dot9.com/Blog/ Note the lower case 'www' and '.com'. In MT, in the Weblog Config settings, you should have the following: Local Site Path: >/home/cpanelName/public_html/Blog Site URL: >http://www.4dot9.com/Blog/ Local Archive Path: >/home/cpanelName/public_html/Blog/archives Archive URL: >http://www.4dot9.com/Blog/archives/ In the Local Site Path and Local Archive Path settings, replace 'cpanelName' with your actual CPanel username. As with the CGIPath setting, note the lower case 'www' and '.com' in the Site URL and Archive URL settings. Once you've made these changes, rebuild your entire site.
  14. Welcome to the forums, Pberntson!
  15. FreeType support is compiled into PHP on TCH servers. If you run a PHP script with the "phpinfo()" function in it, or browse to serverXX.totalchoicehosting.com/phpInfo.php (where 'XX' is your server number), you can see what options PHP was compiled with in the "Configure Command" box. The following options were used to compile PHP on server 40, indicating PHP was compiled with FreeType support: >--with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf
  16. There's no need to use two different sidebars (main index page vs. category archive pages) - you can use the same sidebar for both (use the category one that has the MTTopLevelCategories tag to list the categories). The use of PHP includes should not have affected new posts showing up on the main index page. Your main index page should be rebuilt when you post a new entry as long as your Main Index template is set to rebuild automatically. You may be experiencing a caching issue with your browser - try doing a refresh in your browser if you don't see a new entry on your main index page after you've posted it.
  17. AWStats interprets any text in the 'Filter' or 'Exclude filter' boxes to be a regex. To exclude links containing the words 'poker', 'SPAMMER-BEWARE', and 'texas' at the same time, separate the words with a '|': >poker|SPAMMER-BEWARE|texas
  18. Welcome to the forums, Tim!
  19. Welcome to the forums, robandcob!
  20. Welcome to the forums, sunilonln
  21. Welcome to the forums, Haley!
  22. Welcome to the forums, Stephanie!
  23. I'd suggest looking at your .htaccess file(s) and see if there are any redirect or mod_rewrite directives that might perform a redirect from zaventh.com to nexuswiki.com.
  24. Welcome to the forums, Scott!
  25. Welcome to the forums, Luis!
×
×
  • Create New...