Jump to content

TweezerMan

Members
  • Posts

    1,763
  • Joined

  • Last visited

Everything posted by TweezerMan

  1. From what I understand, anonymous FTP access is supposed to be disabled on TCH's FTP servers, regardless of the settings in CPanel. Even if it is enabled, anonymous FTP access is not a feature I'd recommend that anyone use on their account. According to CPanel's documentation, it is possible. The directory you specify does not have to be associated with a subdomain. It can be if you want it to be, but it's not required. CPanel will just create the directory you specify if it does not exist and limit the new FTP account to that subdirectory.
  2. Welcome to the forums, Just-Ted! As Bruce said, MT can handle multiple blogs, even with different domains, as long as all of the blogs and domains are on the same server. Sine you don't want the domains to "mix" at all, I'd recommend separate MT installations though. If the blogs are all on one install of MT, the blogs themselves would be separate, but URLs to your comments and trackbacks (mt-comments.cgi and mt-tb.cgi scripts) will point at the one domain that MT is installed on. The only way to avoid this is to install MT on each domain.
  3. It appears that you edited the wrong thing. I'm seeing line 421 of config.php with this: >$data_dir = SM_PATH . 'data/'; If that's the line you removed the dot from, you need to put it back. That's not where the problem with your data directory is. Unless it is specified elsewhere, this code is taking the configured SquirrelMail base directory and adding 'data/' to the end of it. Your first error indicates you've configured the following for the SquirrelMail base directory: >../home/jcmail/.mysqmail/ ...but your second error indicates that this is actually the SquirrelMail base directory: >/home3/sub001/sc275/www/jcmail/ Until you get that sorted out, I don't think SquirrelMail is going to work very well for you.
  4. The two dots ("..") you have at the beginning of the Data directory path don't look like they should be there.
  5. I haven't received any e-mail notifications either in the last 6 1/2 hours. I thought it was my ISP acting up, but since you're not getting e-mail notifications either, I guess it's not. I've submitted a ticket to the Help Desk so someone can look into it.
  6. Welcome to the forums, johny_gjx! Is it possible? Sort of. 'Simulating' the upload isn't really useful, as the script would have to upload the entire file anyway in order to read it. Such a script should just retrieve the backup file from the remote server and save it locally so it can then be restored.
  7. Just an educated guess here: There was a problem on server 24 a couple of days ago. Apache was rebuilt on the server (and I imagine PHP was as well). When PHP was compiled, it was not compiled with support for XSLT functions (configure options --enable-xslt and --with-xslt-sablot). You can see the options PHP was compiled with (and a bunch of other information as well) by browsing to server 24's phpinfo page. You'll need to submit a ticket to the Help Desk and ask them if they can recompile PHP with support for XSLT functions added back in.
  8. This is not a myth - it is current U.S. federal law. The case you cite had to look at copyright law as it was in 1963, because that's when MLK delivered his speech and shortly thereafter registered a copyright with the U.S. Copyright Office (under the Copyright Act of 1909). Copyright law has changed over the last 40+ years. This is the current law per the U.S. Copyright Office: A copywritable work is protected by copyright as soon as the work is "fixed in any tangible medium of expression, now known or later developed, from which they can be perceived, reproduced, or otherwise communicated, either directly or with the aid of a machine or device". (17 USC 102)
  9. Thanks, and Welcome to the forums, Mr. Ugly!
  10. I need to remember to suggest that. I've assisted a couple of people on the MT Forums with installing ImageMagick on their own Windows machines. I did not have to when I installed ImageMagick, but they said ImageMagick wouldn't work for them after installing it until after they had rebooted the machine. You're more than welcome for the help - I'm glad it's finally working for you!
  11. I believe you're seeing that error because you have unescaped quotes in the echo() string: > <a href='forum/login.php?do=logout'>Logout</a> Click <a href="/forum/?">here</a> to go to the forums or continue to browse at your ease The quotes in the second href attribute need to be escaped as \" (or replaced with single quotes as you have in the first href attribute): > <a href='forum/login.php?do=logout'>Logout</a> Click <a href=\"/forum/?\">here</a> to go to the forums or continue to browse at your ease
  12. I'm running PHP 4.3.10 here.
  13. Welcome to the forums, Joe!
  14. My only experience with ImageMagick is in conjunction with Movable Type - MT uses ImageMagick to create image thumbnails. MT calls on ImageMagick functions through an ImageMagick perl module (sometimes referred to as PerlMagick), since MT is written in Perl. As long as everything else is installed correctly, ImageMagick works well on both *nix and Windows systems. Trying to call ImageMagick functions from PHP is a new one for me though.
  15. I tested your script on my system, and it appears to work. When I run it in my browser, a new image is created at the location I specified. The script displays nothing other than 'Begin' and 'Done' when the script executes, but the way you have it written, it shouldn't output anything. I tested that on my system as well, and it returns nothing. According to the PHP manual: In order to display output from a command passed to exec(), you need to pass exec() an array variable to hold the lines of output, and if you want to see error messages, STDERR needs to be redirected to STDOUT. This will actually show the output of a command passed to exec() in my browser: ><?php $cmd = "ipconfig"; exec("$cmd 2>&1", $out); echo(join("<br />", $out)); ?> I'd suggest trying the following for your test script: ><?php echo 'Begin <br />'; $cmd = 'convert E:\Website\test.jpg -resize 50% E:\Website\new.jpg'; exec("$cmd 2>&1", $out, $err); if ($err) { echo('Error:<br />'); } else { echo('Command successfully executed.<br />'); } echo(join("<br />", $out)); echo '<br />Done<br />'; ?>
  16. I have ImageMagick installed on my Windows machine with an Apache web server, but I've never tried to perform ImageMagick functions from PHP. Without seeing your script, it's hard to know what the problem could be. I did some searching on Google, and found something that might solve your problem though: Someone identified a problem with ImageMagick, Windows, and PHP's exec() function affecting Drupal: If you want to try the above code, add the _image_exec() function code to the script you're trying to run and replace the call to exec() in your script with _image_exec(). Hope this helps...
  17. Welcome to the forums, Jon!
  18. Welcome to the forums, Kyle!
  19. Welcome to the forums, Kathleen! The only issue I see is that with MT 3.16, the instructions for exporting your entries from Blogger have been removed from the MT manual. It appears the intent is to place these instructions on the main Movable Type web site, but that page is not ready yet. In case you don't have access to any instructions on how to export your Blogger entries: Exporting Blogger Entries 1. Log into your Blogger account, then switch into template-editing mode. 2. Make a copy of your current template; you will be replacing your Blogger template with the conversion template in Step 3, but you probably don't want to lose your original template. 3. Replace your Blogger template with the following: ><Blogger> TITLE: <BlogItemTitle><$BlogItemTitle$></BlogItemTitle> AUTHOR: <$BlogItemAuthorNickname$> DATE: <$BlogItemDateTime$> ----- BODY: <$BlogItemBody$> ----- <BlogItemCommentsEnabled> <BlogItemComments> COMMENT: AUTHOR: <$BlogCommentAuthor$> DATE: <$BlogCommentDateTime$> <$BlogCommentBody$> ----- </BlogItemComments> </BlogItemCommentsEnabled> -------- </Blogger> 4. Enter the Settings area for this weblog. 5. Change your Blog Filename to a different filename; this will prevent you from overwriting your main index file. 6. In Formatting, set your weblog to display all of your posts on the main index page. There is no explicit setting for this; instead, you should change the number of days displayed on your front page (Show N days' posts on main page) higher than the number of days that you have been weblogging. 7. Set Date/Time Format to the format MM/DD/YYYY HH:MM:SS AM|PM. (Note: the format will not look like this in the menu; instead it will be the current time, formatted.) 8. Set Convert Line Breaks to No. 9. Set Archive Frequency to No Archive. This will prevent your archives from being overwritten with the new template. 10. Switch back to the Posts screen, and Publish your weblog. You will end up with a single file with all of your posts, formatted using the above template, at the location specified in your Settings. Download this file to your local hard drive. From here, you'll proceed with importing your entries into MT. The instructions for how to do this are available here. If you run into any problems or have any questions, don't be afraid to ask!
  20. The full version of XAMPP ships with both PHP5 and PHP4: XAMPP Lite appears to only ship with PHP5: Since XAMPP Lite does not ship with PHP4, switching really isn't an option for you.
  21. Compiling source code requires shell access and usually root access, neither of which are allowed to TCH users. You'd have to submit a ticket to the Help Desk and ask them if they would be willing to do this for you (no guarantee that they will).
  22. Assuming you're PC is running Windows, it looks like you need to run this batch file to switch PHP versions (double-click on the file in Windows Explorer): >C:\apachefriends\xampp\php-switch.bat
  23. The duration of a visit can only be computed when a visitor reads two or more pages within a certain period of time. A reader could look at one single page on your site for 6 hours (for example), but if there is not a second page visit to compute the duration of the visit, that particular visit is measured as 0 in the stats. What I would take your stats to indicate is that 50-55% of your visitors are for the most part reading a single page on your site. How long they're reading that page, the stats cannot accurately reflect.
  24. Welcome to the forums, MikkiV!
  25. To my knowledge, TCH does not run PHP as a CGI on any of its servers.
×
×
  • Create New...