Jump to content

Berlie

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Berlie

  1. Did you ever find out if cli was on server 83 or should I open a support ticket?
  2. I am on server 83. The command I have for the cron job is: /usr/bin/php /home/***/public_html/cron.php --rerank with *** as my cpanel username It results in the error message email listed above. The instructions from the script documentation say: I modified the $arphp_directory setting as the instructions asked. Below is the initial part of the script that returns the error with my cpanel username edited out. ><?PHP ## AutoRank PHP ## [url=http://www.jmbsoft.com/license.php]http://www.jmbsoft.com/license.php[/url] $arphp_directory = '/home/***/public_html'; chdir($arphp_directory); $sapi = php_sapi_name(); if( $sapi != 'cli' ) { $message = "<pre>This script can only be executed by the cli version of PHP.\n" . "Current executing environment: <b>$sapi</b></pre>"; if( isset($_SERVER['REQUEST_METHOD']) ) { echo $message; } else { echo strip_tags($message); } exit; }
  3. I am setting up a cron job to rerank a topsites list. I am getting a error email message when the cron job tries to execute stating: This script can only be executed by the cli version of PHP. Current executing environment: cgi Does this mean that the cli version (whatever that is) of PHP is not installed on the server?
  4. Recently the notification emails that are sent from my phpBB forum when someone gets a new PM or a reply is posted to a thread they are watching are bouncing. It only seems to be happening to those with a yahoo.com email address. Below is part of the undeliverable mail message that is coming back to me with the person's email address x'd out. Any ideas how to fix this? --------------------------- This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: xxxxx@yahoo.com unrouteable mail domain "yahoo.com" ------ This is a copy of the message, including all the headers. ------
  5. I picked up a book recently named "Build Your Own Database Driven Website Using Php & MySQL" by Kevin Yank. It is geared toward those without any or much knowledge of php or mysql databases. I have thumbed through it and it looks like it will be a good beginning tutorial. The end tutorial has you creating a simple user authentication system. ISBN is 0-9752402-1-8 if you wanted to look it up at Amazon.
  6. I was recently asked to recommend a host for someone who needs ASP hosting. Since I cannot recommend TCH since they don't offer it can someone recommend a host that does? None of the hosts I would normally look at offer ASP and I would rather have a host recommended then just pick one at random via a Google search.
  7. I just found this new mod at phpbb that might help out those having trouble getting the correct cookie settings. http://www.phpbb.com/phpBB/viewtopic.php?t=228741 Also it notes in there that if your users are having trouble logging in due to cookies and you change your cookie settings to fix it they will likely have to clear out their old cookie settings then reload their browser before coming back to your forums to see if the new cookie settings will work for them. So if you change your settings to something you think is correct and should be working but the user is still saying they are having trouble ask them to clear their cookies, reload and try again.
  8. Here are my suggested settings for the cookie information for phpbb: Cookie domain: set this to either: www.****** or .****** Notice the two periods in the second one Cookie name: Any name will do, for example, "phpbb" or "forums" but it is suggested that if you run two forums on the same domain that you give each of them a unique name. Cookie path: The path to where your forums reside. For example if your forum is located at *****/phpbb/ then you would enter /phpbb/ If your forums reside at *****/forums then you should enter in /forums/ Here is an example of how I have my cookie settings for my site poetrypages at http://www.poetrypages.com/phpBB2/ Cookie domain: www.poetrypages.com Cookie name: poetryforums Cookie path: /phpBB2/ Using the same formula as suggested above I have never had a problem with my cookie settings on any of the many phpbb forums I run. Also, if you change your cookie settings and want to test out the new settings you may want to clear out the old stored cookies for your forums before reloading the page and trying it with the new settings.
  9. One of my sites (shoppingaide.com) that I moved to TCH was hosted at Pair.com. I was very hesitant to move it due to it being my main source of income and pair.com had a very good track record of keeping my site up and running smoothly. I had other sites that were not so critical hosted at another reseller and had moved them all over to TCH and kept my eye on them for awhile to make sure they stayed stable before I moved shoppingaide over to TCH. My main reason for moving from Pair to TCH was cost. Another reason was the control panel for my domains here at TCH offer me more control and options. While Pair allowed me to install phpmyadmin on my own if I wished they did not offer it by default, and I am pretty lazy. Pair also does not allow any type of chat program on their servers. Even the small ChatBox mod for the phpbb forums. So far so good with it being hosted my TCH and I am happy that I moved. I still get the stable environment, more options and all for a lot less.
  10. They use HSPHERE
  11. Thanks! Opened them up and removed those lines that were put in the backup and it seems to be restoring ok now.
  12. I always try to make sure the first text the search engine would see is something worth them indexing. Like a "welcome to such and such" with a description of the site. Often this is the text that will be displayed as the description of your site in a search engine, not all of them use the meta tag description that you supply.
  13. I am trying to move the phpbb forum database from my old server to TCH and I am having trouble. I think them trouble is with the actual backup. I tried to use phpmyadmin to create a backup of the database on my old host. Doing a backup of the entire database gave me a file that was 0 kb in size. I was able to do a backup of each individual table Except for phpbb_posts, phpbb_posts_text, phpbb_phpbb_topics and phpbb_privmsgs_text. The backup file on those were also 0 kb. Those tables are the ones that are the largest. My old host had shell access so I decided to try that to get a good backup instead of using phpmyadim. I did a backup of each table separately and it seemed to be ok. However when I try to restore these to the database at TCH I am getting the following error message: Any ideas? I ran a Check Table on them and it came back ok. The forums are still live on the old forums and I am not having any trouble with it there. Could the tables be corrupted in some way that is causing this issue, if so am I screwed?? I notices the old host was running MySQL 4.0.16 and TCH is running MySQl 4.0.20.. would that cause any problems?
  14. Last month it was about 12gigs. * there is more to the site then just the forums so couldn't say how much they were using.
  15. Just for kicks here is a list of all of the redirects: http://shoppingaide.com/301notworking.html The ones in bold are the ones that are not working correctly. I can live without them working but I am really curious to know why some work and others don't.
  16. PS. the script uses mod rewrite to create these directories. However the redirect seems to work just fine for some.. but not work on others. Here is the .htaccess mod rewrite the script created in case its something in there thats the cause. I don't know much about mod rewrites.. the script created this automatically. >RewriteEngine on # If not working, uncomment and correctly fill the line below: # RewriteBase / RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] RewriteRule ^admin$ admin/index.php RewriteRule ^admin/$ admin/index.php RewriteRule ^links/([a-z]+)/([0-9]+)$ link.php?action=$1&id=$2 RewriteRule ^links/([a-z]+)/([0-9]+)/$ link.php?action=$1&id=$2 RewriteRule ^links/([0-9]+)$ link.php?id=$1 RewriteRule ^links/([0-9]+)/$ link.php?id=$1 RewriteRule ^thread/([0-9]+)$ comments.php?id=$1 RewriteRule ^thread/([0-9]+)/$ comments.php?id=$1 RewriteRule ^thread/([0-9]+)/([0-9]+)$ comments.php?id=$1&page=$2 RewriteRule ^thread/([0-9]+)/([0-9]+)/$ comments.php?id=$1&page=$2 RewriteRule ^([0-9]+)$ index.php?action=displaycat&catid=$1 RewriteRule ^([0-9]+)/$ index.php?action=displaycat&catid=$1 RewriteRule ^([0-9]+)/([0-9]+)$ index.php?action=displaycat&catid=$1&page=$2 RewriteRule ^([0-9]+)/([0-9]+)/$ index.php?action=displaycat&catid=$1&page=$2 RewriteRule ^([-_/\+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1
  17. This redirect works: >Redirect permanent /listings/clothing_apparel/mens_clothing http://www.shoppingaide.com/categories/Clothing_and_Apparel/Mens_Clothing But this does not: >Redirect permanent /listings/clothing_apparel/large_tall_sizes http://www.shoppingaide.com/categories/Clothing_and_Apparel/Large_and_Tall_Clothing And the page does exist: http://www.shoppingaide.com/categories/Clo...d_Tall_Clothing But when I go to the page that should redirect >http://www.shoppingaide.com/listings/clothing_apparel/large_tall_sizes It tries to redirect to this URL: >http://www.shoppingaide.com/categories/Clothing_and_Apparel/large_tall_sizes instead of >http://www.shoppingaide.com/categories/Clothing_and_Apparel/Large_and_Tall_Clothing It is putting the end directory from the redirect (large_tall_sizes) at the end of the redirect URL instead of what was entered in the redirect (Large_and_Tall_Clothing) ????
  18. I have have a shopping directory that i recently switched the script that was used to run it. As a result the directory structure was changed. I am trying to use the 301 redirect to point the old directory structure to the new one. I was using the cpanel redirect page to create mine and it is not working on some of the redirects. For example: This redirect: Redirect permanent /listings/clothing_apparel/large_tall_sizes http://www.shoppingaide.com/categories/Clo...d_Tall_Clothing When I go to http://www.shoppingaide.com/listings/cloth...arge_tall_sizes It takes me to: http://www.shoppingaide.com/categories/Clo...arge_tall_sizes which doesn't exist and for some reason brings up my index page (not my 404 error page). Any ideas whats wrong?
  19. Thanks everyone for the replies. I got the UFM script to work on a single form. I will try posting on their forums to see if anyone has suggestions on how to have a different redirect for different forms.
  20. Thats the one I said I couldn't get to work.
  21. I just recently moved my site to TCH. On my old host I was using Formmail to send the results of a form via email and redirect the sender to a PayPal payment page. I see that Formmail is not allowed on TCH due to security concerns. I have looked at UltimateFormMail that was suggested as a replacement but I can not get it to work. I have three forms on my page and depending on which one someone submits it needs to redirect them to a unique URL. With UFM you have to hardcode the redirect into the script and I can't see how to set a different redirect for different forms. Does someone know how that can be done? I am also having trouble just getting that script to work at all but I haven't messed with it too much to try to find out what I am doing wrong. But if i can't do what I need to do with that script.. can someone suggest another simple form mail script that cam redirect to a specific URL depending on the form submitted and also email me the results? PS. here is the url to the submit page that i am trying to get to work. http://www.shoppingaide.com/sitesubmission.html The DNS for the domain just started to propegate so there is a possibility you might view it on the old host with the working forms. The form I am working on for testing is for the "Submit a RECIPROCAL Site Listing" form.
  22. I have a somewhat large phpBB forum script at http://www.poetrypages.com/phpBB2/ Not quite 85mb.. sitting at about 73 right now. It seems to run at a decent speed for me, but I am on DSL so hard to say for sure. No complaints about it being slow from members though. For me the best.. and worst thing abouyt phpBB is the hacks/mods. On the good end it allows me to do exactly what i want my board to and no more by having a basic script with the ability to add on mods to add to its funtionality. I don't get a board full of clutter functions that i don't want but I can add the funtionality I need. On the bad end installing these mods can be a pain unless you know what you are doing. I can install them pretty fast now since I am so familiar with doing them. Having to upgrade though when you have a bunch of mods added to your board is a pain. If the upgrade overwrites a file that had been changed for a mod you will need to reapply the mod. I switched from using UBB to phpBB mainly because of the price (free!). I use it on many sites byt poetrypages.com is my largest one. No experience with Invision but I may check them out to see what the difference is although I doubt I would switch any of my current forums over, but may consider them for future ones if i like what I see.
  23. One more quick question. Do domains have their own IP or is it virtual hosting? If virtual hosting is their an option to add an IP to a domain?
  24. My current host doesn't use cpanel so no.
  25. I am considering switching to a Reseller account at TotalChoice from my current host and have a few questions. 1. My main concern is that you don't allow shell access. I really only use shell access for one thing and wanted to make sure there is another way to do it without shell access. I run a phpbb forum with a large database. If I ever need to restore a database from a backup the backup file is too large to do using the restore function in phpbb and if i had to do it through phpmyadmin by breaking the file into smaller chunks it takes forever. I have always used SSH to restore the backup since doing it that way is tons easier and takes just a few minutes. Without SSH access is there a way to restore the forum database easily? Perhaps I can send in a support ticket and let them know the location of my zipped up backup and ask if they can restore it for me? I also use SSH to set up cron jobs. Can cron jobs be set up in the control panel? I know some control panels offer that as an alternative. 2. The reason I am looking at switching is due to problems with my current host. One of my sites is a phpbb forum (http://www.poetrypages.com). It has a lot of registered users but you usually don't see more than 5 or so of them on the board at any one time. At my current host I often get a "cannot connect to database error". It doesn't just happen occasionally, it is very frequent. The database server is a shared server with a limit set on the amount of connections allowed at one time. Since this limit is set across the board and not a limit for each database, and also because I suspect they have overcrowded the database server, even though my users are not using the database heavily, when they do they often get the cannot connect error because it has too many connections form other users on another website. Are there any users of Total Choice that has a phpbb forum that can let me know if this is ever a problem with Total Choice hosting? Thanks for your time. Kimberly Jera Web Creations
×
×
  • Create New...