Jump to content

jayc

Members
  • Content Count

    65
  • Joined

  • Last visited

Everything posted by jayc

  1. Thanks, I had tried doing it with my_user_name before, but I tried doing it again double and triple checking everything, and this time it worked. Also it turns out that I can stick my functions file in the same directory as as the file that calls it. this structure works / should contain php.ini /public_html should contain the modified .htaccess file /public_html/my_working_directory/ should contain the page calling the function "connect_db.php" and the functions file "functions.php" jayr
  2. I can't seem to make this work, I think I followed the step by step exactly, however when I attempt to put a require statement into a php file "require("functions.php")or die(mysql_error());" and have functions.php in the same directory I get the following error message "Fatal error: require() [function.require]: Failed opening required '1' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fournine/public_html/PHPMySQL/connect_db.php on line 3" If I undestand the instructions correctly the file structure should look something like this / should contain php.ini /public_html should contain the modified .htaccess file /public_html/PHPMySQL/ should contain the page calling the function "connect_db.php" and the functions file "functions.php" Couple of questions 1. In include_path = ".:/home/user/include:/usr/lib/php:/usr/local/lib/php" do I use the generic /home/user/ ... or do I use /home/my_user_name/... ? 2. Same question for the line in .htaccess do I use suPHP_ConfigPath /home/user .... or suPHP_ConfigPath /home/my_user_name ... ? 3. Do I need to create an /include directory at the top level and stick my functions file in it, or can I simply have the functions file in the same directory as the file that calls it? Thanks in advance jayr
  3. Bruce, Thanks for the note, I saw some references to a virtual file instead of using httpd which made me think that it might now be possible, I am going to go ahead with a test installation using sub directories and if that works will think if the added degree of professional appearance might make it worth looking into going the sub domain route. WP multi is only part of what I am trying to accomplish, if the rest of it don't work then the sub domain issue is kinda moot. Thanks for getting back to me jayr
  4. Bruce, Quick question on Wordpress 3.0 and multi site (WP Networking) I am planning on setting up a multi site installation of WP, in reading the FAQ the basic decision up front is to set it up as sub domains or sub directories. In order to set it up as sub domains a change has to be made in httpd.conf, however in reviewing the forums I found a discussion from back in 2007 and it appears that TCH does not allow wildcard domains, in spite of being able to configure sub domains in cpanel. I am wondering if this policy has changed or if I am going to have to set it up with sub directories? Thanks in advance jayr
  5. I will do that, but it still strikes me as very strange, one outfit out there that blacklists an IP address and then mail starts failing, is there not some kinda peer review system going on? I assume that others besides myself are having their mail fail, it was only trying to send to this one particular address that brought it to my attention. jayr
  6. I emailed a commercial company asking for information from one of my sites, and it was bounced by the clients server as being from some kinda suspect IP address, which of course is a total choice IP address. I went to the address given and found that the TCH address does in fact show up on one out of about 8 lists that apparently magicmail subscribes to. Have never seen this before, and I guess I could use a non-TCH address to resend this particular email. My question is what is this all about? Do these listing services want some kinda pay off to take you off the list? I checked the list that had blackballed the TCH IP address and there was no apparent way to contact them and ask for removal jayr The bounce message is below: 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: sales@texascom.com SMTP error from remote mail server after RCPT TO:<sales@texascom.com>: host mx0.ispdone.com [69.39.47.14]: 550-Your message was rejected by this user and was not delivered. 550-Reason: This system uses BMS to check your IP address reputation, and was rejected by the user. IP=[208.76.80.14] 550-Protection provided by: MagicMail version 1.2.2 (http://magicmail.linuxmagic.com'>http://magicmail.linuxmagic.com) 550-For more information, please visit the URL: 550-http://www.linuxmagic.com/power_of_ip_reputation.html 550 or contact your ISP or mail server operator. ------ This is a copy of the message, including all the headers. ------ 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: sales@texascom.com SMTP error from remote mail server after RCPT TO:<sales@texascom.com>: host mx0.ispdone.com [69.39.47.14]: 550-Your message was rejected by this user and was not delivered. 550-Reason: This system uses BMS to check your IP address reputation, and was rejected by the user. IP=[208.76.80.14] 550-Protection provided by: MagicMail version 1.2.2 (http://magicmail.linuxmagic.com) 550-For more information, please visit the URL: 550-http://www.linuxmagic.com/power_of_ip_reputation.html 550 or contact your ISP or mail server operator. ------ This is a copy of the message, including all the headers. ------ Return-path: <jayc@Vegas-Wireless.com> Received: from nv-206-107-222-23.sta.embarqhsd.net ([206.107.222.23] helo=[10.10.99.102]) by kalee.snhdns.com with esmtpa (Exim 4.69) (envelope-from <jayc@Vegas-Wireless.com>) id 1OLMJw-0003yd-Vh for sales@texascom.com; Sun, 06 Jun 2010 16:19:49 -0400 Message-ID: <4C0C02E7.6040707@Vegas-Wireless.com> Date: Sun, 06 Jun 2010 13:19:51 -0700 From: Vegas Wireless <jayc@Vegas-Wireless.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: sales@texascom.com Subject: Canopy Mount? Content-Type: multipart/alternative; boundary="------------010405030808090004090309" This is a multi-part message in MIME format. --------------010405030808090004090309 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Around 5 years ago you sold a cluster mount for canopy access points, you are still listed on the Motorola site as a supplier for these items /Texas Communications provides a sturdy galvanized Canopy cluster mount that simplifies and improves both the install process and maintenance of a cluster. The mount design makes full coverage of an area more foolproof and eases installation. Your team will also enjoy the easier setup the mount enables. No matter what kind of tower you are installing on this mount can help./ I cannot find them on your website, do you still sell them? If they are no longer available from you can you point me at a new supplier? Thanks in advance
  7. Does anyone know what the current URL for this resource is ?
  8. I have been using Mailman for my mailing list, and while it works it sure is ugly. I have been looking around for a replacement 3rd party mailing list package to install, it will have to be compatible with TCH however, I have a list manager function in the SMF bulletin boards that I operate and when I try to use them TCH has limits on the number of emails that can be sent in a given time period so cannot send a mailing to my entire list at one time. I am looking for some think that will let me send HTML encoded emails without adding all the ugly text only headers and footers to my message. Thanks in advance jayr
  9. I installed the PHP handler, and really like the hell out of being able to include other pages using the PHP include function. However I am running into a snag that I could use some help with. I use template files alot, and when I cut and paste a template file into a sub directory, the path to the include file is not updated to reflect that the included file is now in a higher directory. I tried to use a fully qualified name for the include file Top Level <?php include("cssmenu.html"); ?> Sub directory <?php include("http://www.My_Domain.com/cssmenu.html"); ?> But I get a TCH error message Warning: include(http://My_Domain.com/Footer.html) [function.include]: failed to open stream: no suitable wrapper could be found in /home/userName/public_html/Insert2.html on line 23 Warning: include() [function.include]: Failed opening 'http://www.kinky-vegas.com/Footer.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/userName/public_html/Insert2.html on line 23 I have no clue how to go about writing or installing a wrapper that will permit this, any help will be appreciated I have two work arounds at present, but I would like to be able to simply include files from some of my other web resources in the current site
  10. Once again I am having problems with the Front Page Server Extensions on one of the sites I have on a resellers account. When I try to publish from front page I get a standard error message that the extentions are not installed When I go to cpanel and do the remove reinstall thing I get an error message saying there is something wrong with my .htaccess file. I have had this problem several times in the past, always required a new line in the .htaccess file, but have lost my notes, and since I have never been able to do compound searches on TCH am unable to find the hint about to once again fix it. Any help/pointers would be greatly appreciated, and I really suggest that TCH put this one in the FAQ area, pretty sure that others have this problem, seems to be caused when something gets changed on the servers. And yes I could work around this by using FTP, or even using GoLive rather than FP. Even though FP is older than the hills around us, I continue to use if for simple stuff because it is so simple to use, at least when I don't have this problem/
  11. jayc

    Shell Sessions ?

    Dick, I spoke too soon about being able to create a database from a php script, when I went back and attempted to do so again I got an error message. Next step will be to attempt creating a database in cpanel, then using a php script to create a table, and then operate on the table. Am kinda wondering if there are any TCH tutorials about the baby steps in working with PHP and MySQL ? I have installed a number of packages in the past that utilize both PHP and MySQL so am pretty sure that I will eventually be able to write my own stuff, but can use all the help I can get for the baby step parts. jayr
  12. jayc

    Shell Sessions ?

    Thanks for the quick reply, actually I mucked about with phpMyAdmin a bit and found that out, however I did notice something strange. When I open up phpMyAdmin I see that my user account is flagged as "No Privileges" for creating a database. However I can go to the MySQL gui and create a database there, assume that I can also do it from the MySQL Wizard gui. Once I create a database in the MySQL gui, I can then do stuff at the command line level on that database in phpMyAdmin. I guess my question at this point is why don't I have database creation privileges in phpMyAdmin ? FWIW I seem to be able to create databases from within a PHP script. jayr
  13. After being away from it since the late 80's I am starting to get back into software development. Of course my focus is on PHP/MySQL. I have PHP/MySQL/Apache installed on a local server for conducting some tests, also put MySQL on my workstation so I can play around in the Command prompt for directly testing some SQL commands. I am running some PHP scripts on TCH for testing, and am about to start playing around with MySQL on TCH. At present the only way I can see to run MySQL commands is under a PHP script. This introduces a level of complexity that I am not totally happy with for learning purposes, am wondering if there is a way to initiate a shell session on TCH so I can issue test MySQL commands from a command prompt for testing purposes. Might not be possible, but thought I would ask jayr
  14. I am trying to get email set up for a new customer. I have a list of corporate email addresses which I have installed, and I have set them all to forward to a specific address in the same domain for start up activities. I want to add an autoresponder to each of these addresses as well, the forwarder seems to be working, however the autoresponder does not seem to be working. Desired functionality is A. Someone emails to one of the corporate addresses B. Email is forwarded to the designated address C. Autoresponder sends custom reply for that address to originator of the original email Do these two functions interact ? I don't want to keep banging my head against the wall if it plain don't work. Thanks in advance
  15. Thanks for the suggestion, I took a look at them, and I am really looking for something that will allow my community users to interact more. jayr
  16. Hi all, I am playing around with SMF as a framework for building a family community site, I have tried IPB and BBPHP in the past and have to say that I am favorably impressed with SMF, including the Mods available for it. I would like to add a mud or moo type game, or game of some kind to the system for the kids, looking for suggestions, source forge has something like 10,000 games available, but my experiance has been that I am always better off asking for some pointers to the packages that deserve a serious look. I am looking for something that is server based, but does not need a special client for access, in other words the users should be able to use whatever browser they happen to use to play. PHP/MySQL under the hood would be bonus points. thanks in advance jayc@wyldeart.com
  17. jayc

    Smf Forums

    Bruce, thanks for the good cheer, but per my note I was able to work through the issues. SMFHacks does have a support area, and was able to find part of the solution there. All in all I am pretty happy with SMF, I have tried both IPB and BBPHP in the past and like SMF much better, seems to have a dedicated support area with a reasonable number of Mods available. of course I will probably run into a problem in the future and end up hating it , but for the moment it is what I am going to reccomend to my customers who need a community builder
  18. jayc

    Smf Forums

    Was able to get it working, had to uninstall, reset the theme to the default, re-install. Note that additionally I had to manually update the mods.english.php file. After getting that part done, I had to clone another copy of the default them and put all of my menuing changes back in. Having said that I am pretty satified with it, and the price (free) is certainly within the budget, if my members start to use it I will donate to the developers. Anyone having problems with smfhacks gallery is welcome to contact me for whatever help I might be able to provide. jayr
  19. jayc

    Smf Forums

    Simple Machine Forums I have used both BBPHP and IPB in the past, as well as a number of BBS systems back in the dial up days. I stopped using BBPHP because of the hacking problem and IPB went commercial, one of my basic ground rules is to use open source stuff, and if I put it into a commercial application I donate to the developers, so IPB is out, and frankly it is getting to be too hard to use. Have also tried Joomla and Xoops, but found that as you added functionality with the snap ins, reliablity and interactions between the snapins seemed to be skyrocketing. I have set up a couple of SMF systems now, and am pretty pleased with the core functionality, and the ease of tweaking the skin so I can have a common appearance for the whole site. Net step is to start adding some modules, or Mods in SMF speak, one of the ones that is high on my list is a photo gallery. I have played with both Coppermine and Gallery in the past, but want something that avoids a dual login requirement, and worked better than the Xoops/Coppermine setup. Am trying Gallery for SMF from SMFHacks.com, but running into some problems out of the box. It installs but not completely, it fails to put a menu button on the SMF button, and does not appear on the SMF admin control panels, am wondering if anyone else has tried this mod and might have some clues for me. Thanks jayr
  20. Don I went all the way through the tutorials looking for a general guide to setting up .htaccess and could not find anything. Your post was from about 4 years ago, so the tutorial may have been removed or at least moved, any chance you can give me a specific link to the information ? JayC
  21. Rob, So far I am very impressed with zenTrack, am recommending it to a couple more customers. The original customer commented that he did not think he could use it to organize his reporting the way he wants so I did a survey of other help desk / trouble ticket packages available and came up with a list of about 10 that matched the high level requirements, however I think zenTrack is still the best bet. If there is a way to upload attachements here I will post a copy. (tried the upload function here but got an error message that said I did not have the nessasary permissions) I had the same problem with seeding and figured it out, also please note that for some reason I cannot insert the whole seed installation file at the same time, but doing it section by section (while a pain in the butt) worked for me. For production systems you can select out some of the bins, tasks and so on for a cleaner installation for a specific customer. Which kinda makes up for the additional step in the installation process. I am still having a couple of problems that I am working on Outbound email (notifications) - need to figure out how to patch zt to use the TCH mail system Inbound email - apparently I have to configure a full blown gateway to be able to let users send in trouble reports by email, checking this out as I think it is a really useful feature Attachements - Appear to upload ok, however are not attached to the trouble ticket, probably a config issue, working on it Conclusions on zenTrack This seems to be the real deal for help desk/trouble ticket systems. Worth the effort to continue struggling with it to be able to offer it to customers who need a way to unify a development group / sales staff that are geographicly disperse. Like all open source packages it is not "free" when you consider the total cost of ownership, but it seems to be a full-featured, low maintenance, package that I can offer to my customer base jayr
  22. My office number, I don't think there is a big risk in my office number being flooded with phone calls from a post here jayr
  23. Ok, you are correct it is the cPanel ID not the site name, my bad Ok, so the includes are correctly pathed, but I still cannot log in to the application, lemme try some more stuff, was hoping that someone else had tried out zenTrack and had some hints on how to make it play on TCH.
  24. Am attempting to install zenTrack to take it out for a test spin as a help desk application for a customer Am having a problem they recommend putting the includes directory outside of the public_html branch for security purposes and then pathing to it from a config file. Not sure how to path to that level I put it in at the same level as the public_html directory, then used $libDir = "/home/<site_name>/includes"; in the config file to point at it, not sure this is right, do not get any error message when I try to access it, but I cannot log into the application either, Anyone tried to install this one before ? Hopefully with more success jay clark 702.456.7062
  25. I am attempting to identify some open source packages that do Asset Management/Control/Reporting for a client of ours. Have checked out source forge and there does not seem to be a lot there, at least nothing that is currently being maintained by developers. Am looking at a couple from there but do not have warm fuzzies at this point. Client has around 20,000 items of capital equipment at around 200 different locations around the US. Prefered solution would be PHP/MySQL based, and have an active/established developer community so we can hire out getting customization of report generation done. Any suggestions greatfully received jay clark jay.clark@cntlwire.com
×
×
  • Create New...