Jump to content

About This Club

info surrounding websites, hosting, etc
  1. What's new in this club
  2. This topic is really a way for me to evaluate the different ways to host a store when thats all you really need is a store Examples of some of the sites I would like to evaluate: https://freewebstore.com/ https://www.bigcartel.com/ https://www.weebly.com/online-store https://www.bigcommerce.com/essentials/ https://www.constantcontact.com/website/ecommerce
  3. Probably sticking with Gmail since its the only one that matches my requirements which are: adding to my phone I can manage mail contacts calendars notes The only other web based mail that had this ability from what I tested was Outlook and seriously, outlook is so slow and many times of the different outlook emails I tried sending emails, they receiver marks anything outlook.com as SPAM. The downfall to Gmail is any cool email is taken which is annoying for anyone with a business since you know they took the email and could possibly use it to pose as your business. Probably then it could be some sort of legal ramifications.
  4. So many choices and the decision feels like a big one. I have so many stupid email accounts that its beyond stupid but in reality I haven't really found one that does everything. Its like a typical Microsoft product where it gets almost half way there and then falls short. I would mention that I believe Gmail is probably the most popular, most used email of everyone but man its just not easy to use. Why is it so hard to get to an address book? Next I would probably give it up to Yahoo for being third which is very very focused on advertisements but it too is very difficult to find contacts/address book but yet easier than gmail. Outlook is typically blocked when you send email since its very prone to carry virus and spam but its very very microsoft focused. Its slow when I've used it and again, the emails typically end up in the recipients spam folder. ZoHo Mail isn't bad at all. Its probably the easiest to use but when you setup on your phone, it doesn't sync your contacts so you might not want to count on that. Just mail and notes will sync to your phone. So disappointed with no calendar or contacts.
  5. I was surprised one day to find that my website was listed as a threat and therefore blocked by our company bluecoat proxy. Now I know issues exist with bluecoat being a proxy anyhow but it pulls its feeds. So I started doing some research to find out what sites are listed my very basic and informative website as a spam site. In doing some web searching I found a few places to go to check the health of your website in the eyes of the SPAM world. Norton Safe Web is a site that does a quick scan of your site. It didn't have very impressive results but it wasn't listing my website as spam. Trend Micro Site Safety Center also is a very basic scan that displayed its results as Safe. Securi SiteCheck has been the best free website scan I've come across so far with very valid and informative results. It checks to see if your website is on 9 blacklists, it checks for malware as well as looks for a WAF (Web Application Firewall). What made this my favorite is the level of helpful information it provides to help you correct the issues it find with your website, if any. Google Safe Browsing is probably one of the most important scans to pass since everyone pretty much defaults to one search engine and thats google so if Google doesn't like your website you are in serious trouble. Results are boring if you website is considered safe as its results simply say, "No unsafe content found" URLVOID was very very informative and I highly recommend you try this out. It's also free and did show that my website was on a blacklist that Securi did not detect. What's also nice about URLVOID is it shows you all the sites that its testing the blacklist on which then helped me find what blacklist my site is actually on and in my case it was/is Bitdefender. I have to go to the submit form and attempt removal of my site from there blacklist.
  6. I tried changing save to /tmp and no luck then I started to look at some of my other sites and most settings were same but memory and file upload sizes were different so I decided to just copy the php.ini from working site and paste to broken sites and they all started to work. Working php.ini for me for IPB 3.4.x ; cPanel-generated php ini directives, do not edit ; Manual editing of this file may result in unexpected behavior. ; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) ; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) allow_url_fopen = Off allow_url_include = Off asp_tags = Off display_errors = Off enable_dl = Off file_uploads = On max_execution_time = 30 max_input_time = 60 max_input_vars = 1000 memory_limit = 128M post_max_size = 80M session.gc_maxlifetime = 1440 session.save_path = "/var/cpanel/php/sessions/ea-php56" upload_max_filesize = 20M zlib.output_compression = Off Once this was pasted into each broken site I was able to save settings once again.
  7. I know this version is no longer supported and we are working on upgrading our applications to support IPB 4. No emails are being sent out so trying to update from PHP to SMTP but anytime I click save it goes back to the original.. it doesn't save any settings. I have also tried to update someones password and it won't let me. I have tried to use Chrome and Safari, I have cleared all cookies and cache and tried and really just out of ideas. We do not use friendly URLs (so no .htaccess file)..... It says Settings saved but nothing changes.. it reverts back to what it was. Doesn't matter if its Email or SEO settings... the system just will not allow anything new to be saved. I tried to change my php setting from /var/cpanel/php/sessions/ea-php56 to /tmp thinking it might be an issue but no difference. I look at the error log under admin directory and I see things like [19-Jul-2019 15:37:50 UTC] PHP Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_p7ql10krrei9ak22fnvc9qtai1, O_RDWR) failed: No such file or directory (2) in /home/mirf/admin/applications_addon/ips/nexus/sources/support.php on line 1637 [19-Jul-2019 15:37:50 UTC] PHP Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_p7ql10krrei9ak22fnvc9qtai1, O_RDWR) failed: No such file or directory (2) in /home/mirf/admin/applications_addon/ips/nexus/sources/support.php on line 1640 [19-Jul-2019 15:37:50 UTC] PHP Warning: Unknown: open(/var/cpanel/php/sessions/ea-php56/sess_p7ql10krrei9ak22fnvc9qtai1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 [19-Jul-2019 15:37:50 UTC] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/cpanel/php/sessions/ea-php56) in Unknown on line 0 [19-Jul-2019 15:49:38 UTC] PHP Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_p7ql10krrei9ak22fnvc9qtai1, O_RDWR) failed: No such file or directory (2) in /home/mirf/admin/applications_addon/ips/nexus/sources/support.php on line 1637 [19-Jul-2019 15:49:38 UTC] PHP Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_p7ql10krrei9ak22fnvc9qtai1, O_RDWR) failed: No such file or directory (2) in /home/mirf/admin/applications_addon/ips/nexus/sources/support.php on line 1640 [19-Jul-2019 15:49:38 UTC] PHP Warning: Unknown: open(/var/cpanel/php/sessions/ea-php56/sess_p7ql10krrei9ak22fnvc9qtai1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 [19-Jul-2019 15:49:38 UTC] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/cpanel/php/sessions/ea-php56) in Unknown on line 0 Any ideas?
  8. Of all the CMS (Content Management Systems) I’ve used, I would say that WordPress is one of the more difficult CMS to control access and permissions based on user if you want to be granular/specific. By default WordPress comes with the following roles: Administrator Editor Author Contributor Subscriber Comparison of the different roles in WordPress are found below Super Admin (multi-site)Administrator (single site)EditorAuthorContributorSubscriber create sitesX delete sitesX manage networkX manage sitesX manage network usersX manage network pluginsX manage network themesX manage network optionsX upload pluginsX upload themesX upgrade networkX setup networkX activate pluginsXX create usersXX delete pluginsXX delete themesXX delete usersXX edit filesXX edit pluginsXX edit theme optionsXX edit themesXX edit usersXX exportXX importXX install pluginsXX install themesXX list usersXX manage optionsXX promote usersXX remove usersXX switch themesXX update coreXX update pluginsXX update themesXX edit dashboardXX customizeXX delete siteXX moderate commentsXXX manage categoriesXXX manage linksXXX edit others postsXXX edit pagesXXX edit others pagesXXX edit published pagesXXX publish pagesXXX delete pagesXXX delete others pagesXXX delete published pagesXXX delete others postsXXX delete private postsXXX edit private postsXXX read private postsXXX delete private pagesXXX edit private pagesXXX read private pagesXXX unfiltered htmlXXX edit published postsXXXX upload filesXXXX publish postsXXXX delete published postsXXXX edit postsXXXXX delete postsXXXXX readXXXXXX and if you have bbPress installed, it added these additional roles Keymaster Moderator Participant Spectator Blocked Comparison of the different bbpress roles and what each gets ya. Forum CapabilitiesKeymasterModeratorParticipantSpectator publish forumsXX edit forumsXX edit others forumsX delete forumsX delete others forumsX read private forumsXXX read hidden forumsXX Topic CapabilitiesKeymasterModeratorParticipantSpectator publish topicsXXX edit topicsXXX edit others topicsX delete topicsXX delete others topicsXX read private topicsXX Reply CapabilitiesKeymasterModeratorParticipantSpectator publish repliesXXX edit repliesXXX edit other repliesXX delete repliesXX delete others repliesXX read private repliesXX Topic Tag CapabilitiesKeymasterModeratorParticipantSpectator manage topic tagsXX edit topic tagsXX delete topic tagsXX assign topic tagsXXX MiscellaneousKeymasterModeratorParticipantSpectator spectateXXXX participateXXX moderateXX throttleXX view trashXX A strong suggestion for better capability is a free plugin called Members by Justin that will give you many benefits to include: Role Editor: Allows you to edit, create, and delete roles as well as capabilities for these roles. Multiple User Roles: Give one, two, or even more roles to any user. Explicitly Deny Capabilities: Deny specific caps to specific user roles. Clone Roles: Build a new role by cloning an existing role. Content Permissions: Gives you control over which users (by role) have access to post content. Shortcodes: Shortcodes to control who has access to content. Widgets: A login form widget and users widget to show in your theme’s sidebars. Private Site: You can make your site and its feed completely private if you want. Plugin Integration: Members is highly recommended by other WordPress developers. Many existing plugins integrate their custom roles and caps directly into it.
  9. I've noticed in my journey from moving from Joomla and Invision Power to Wordpress that its difficult to find applications that do what you do want the way you want to do them. In my journey of finding a Document Management system for my wordpress site I do a lot of research and comparisons until I find the best solution for me needs and all of our needs are probably different so what I pick as my Document Management solution may not be the same as what would work for you. Wordpress Download Manager (WPDM) Many websites I come across name Wordpress Download Manager (WPDM) as a top contender. I like and dislike this application. NOTE: I tested using version 4.9.3 I like the fact it comes with a TinyMCE plugin that allows you to insert files into your post that you uploaded to WPDM. I also like that you can Attach a Directory or make a file available for a certain date range. I like it has so many plugins that will work with so many other applications. It has so many options per file (or package as they like to call it) Also I like that it looks like we may be able to organize (hopefully import) all our files in our Wordpress Media bin. I dislike that they reference files/documents all as packages. It confuses me. When I see package I instantly think of WooCommerce.
  10. You utilize EC2 (which stands for Elastic Cloud) Launch Instance (I personally choose Red Hat since its used in more of a Business model) Create a Key Pair (it will download automatically and this file is very important for access) Accessing site chmod 600 /path/to/your_keyname.pem Get your EC2 name (something of the form *.compute.amazonaws.com). Now we can SSH into the EC2 instance by running the following command ssh -i /path/to/your_keyname.pem ubuntu@your_instance.compute.amazonaws.com
  11. Received this error in Firefox today when I was trying to access my RSA SIEM Server Error code: ssl_error_weak_server_ephemeral_dh_key I had to go into about:config and change the following two lines from True to False so they look like the below
  12. What I found out to test oracle connectivity you would do the following from a machine that has Oracle loaded. The three main things to check for when diagnosing remote database connection issues are the machine, the listener, and the database. The utilities that can be used to test each one of these include ping, tnsping, and a database connection. The ping utility is used to test the connectivity to a remote machine. ping will indicate whether a remote server is accessible and responding. If the ping command indicates that a machine cannot be accessed, the other connectivity tests will also fail. D:> ping asgard Pinging asgard.zahsystems.com with 32 bytes of data: Reply from bytes=32 time<10ms TTL=254 Reply from bytes=32 time<10ms TTL=254 Reply from bytes=32 time<10ms TTL=254 Reply from bytes=32 time<10ms TTL=254 Once connectivity to the host is confirmed with ping, the next connection to test is the listener. The tnsping utility is used to determine whether or not an Oracle service can be successfully reached. If a connection can be established from a client to a server (or server to server), tnsping will report the number of milliseconds it took to reach the remote service. If unsuccessful, a network error will be displayed. However, tnsping will only report if the listener process is up and provides no indication of the state of the database. D:> tnsping The “net service name” must exist in the tnsnames.ora file (In the example below GRACELANV8_GRA901m is the hostname in tnsnames.ora) D:> tnsping GRACELANV8_GRA901m 5 Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=gracelan) (PORT=1525)) (CONNECT_DATA= (SID=GRA901m))) OK (80 msec) OK (10 msec) OK (10 msec) OK (0 msec) OK (10 msec) The result from the tnsping command above shows 80 milliseconds (ms) were required for the first “ping”. During this time period, the alias GRACELANV8_GRA901m from the local tnsnames.ora file was retrieved, a DNS of the host “gracelan” was resolved, and the TNS connect and refuse packets were transported. The second trip took only 10 ms because all of the connection information was already cached. Here is a link to a nice free scanning tool that allows scanning a remote machine for open TCP and UDP ports (no installation required, just launch the .exe)
  13. Guest

    Just okay

    Dreamhost is getting worse by the day... I was transferring gearcrushers.com up to my Dreamhost VPS and now I can't log into it anymore via FTP, SFTP or SSH. (sound familar) Restart VPS to see if it would restart services if that was the issue but no luck. Looks like I'm putting all my eggs (websites) on wirenine which makes me nervous but so far so good until I get burned.
  14. I was complaining on Twitter on how awful bluehost was for taking 48 hours to restore my sites in which time I lost my google rankings since they couldn't contact my site. Wirenine saw my issues with Bluehost and offered there services. I looked into them but they were definitly more expensive than anyone else but had a crap load more features. I decided to go with Dreamhost because of cost and after learning they aren't very technical or nice, I decided to give wirenine a shot. They transferred all my data over with some issues because of what Bluehost does with your sites but wirenine figured them out quickly and never did they show any attitude. So far, very impressed with the support staff. I will say, if you aren't familar with WHM like I'm not, then a huge learning curve if you go with the VPS option like I did. Many advanced features and configurations available to you. Way Way WAY more than any of the other VPS solutions I have tried. I do recommend wirenine and they are U.S. based.
  15. I tried to switch my VPS from Bluehost to Dreamhost since Dreamhost is NOT part of the EIG. I like the interface even though its not cPanel but its pretty easy to use. Had some issues where all 8 of my sites wouldn't let me log in (note these sites include IP.Board, Joomla and Drupal mainly) and so I contacted Dreamhost support and they insisted the issue is with the software not the server. I explained to them that these are just transfers and they work without issue on Bluehost and still they insisted its not the server. So I contacted Invision Power (makers of the IP.Board you are reading this on) and they checked it out and uploaded a stand alone script which also would not allow you to log in. So I contacted Dreamhost support again and they basically said, too bad. I still have a few domains on this site but I'm not putting anything important with Dreamhost if they have such horrible support.
  16. So I signed up in August 2014 for a Bluehost VPS since I had so many issues with inmotionhosting that I figured Bluehost is a pretty popular and well known site but I realized later its not because they have great service but more because they are so cheap. The implemented a change on a RAID controller on the VPS I was part of (without notifying us of this change) and it killed the controller. They had to rebuild all of our data and it took 48 hours to do this. Support was useless and no remorse but why would they care. Bluehost is part of the Endurance International Group (EIG) which these are also: 2slick.com AccountSupport Arvixe LLC A Small Orange ApolloHosting Berry Information Systems L.L.C. BigRock BizLand BlueDomino Bluehost Directi Dollar2Host Domain.com DomainHost Dot5Hosting Dotster easyCGI eHost EntryHost Escalate Internet FastDomain FatCow FreeYellow Glob@t Homestead HostCentric HostClear HostGator Hostnine HostMonster hostwithmenow.com HostYourSite.com HyperMart IMOutdoors Intuit Websites iPage IPOWER/iPowerWeb JustHost LogicBoxes MojoMarketplace. MyDomain MyResellerHome NetFirms Networks Web Hosting Nexx PowWeb PureHost ReadyHosting.com ResellerClub Saba-Pro SEO Hosting Southeast Web Spry StartLogic SuperGreen Hosting Typepad USANetHosting VirtualAvenue VPSLink WebHost4Life webhosting.info Webstrike Solutions Xeran YourWebHosting If one of these are your hosting provider for your website then be careful. They are all connected somehow because previously I was with hostgator and everything went down but learned later that the issue was at every EIG web hosting.
  17. Show Databases SHOW DATABASES; Create database mysqladmin -u root -p create oaipse Show mySQL Users select user,host from mysql.user; Create new user CREATE USER 'oauser'@'localhost' IDENTIFIED BY 'secure09'; Grant Privileges GRANT ALL PRIVILEGES ON *.* TO 'oauser'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES; TO EXPORT DB TO A FILE: mysqldump --add-drop-table -p DATABASENAME --user=DATABASEUSER --password=DATABASEPASSWORD > /FULL/PATH/TO/ROOT/MYBACKUP.SQL TO IMPORT DB FROM A FILE: mysql --user=DATABASEUSER --password=DATABASEPASSWORD DATABASENAME < /FULL/PATH/TO/ROOT/MYBACKUP.SQL Replace the uppercase words with your own values. DELETE Database mysql> drop database
  18. Second time mySQL went down. I'm currently on the Power Plan (which is a shared hosting plan) which means I share a server with a bunch of other people which one of these people is bringing the mySQL services down on this shared server. First outage a few weeks ago was for about an hour, this time services resumed in about 20minutes which feels like a lifetime when you rely on the site to be up for everyone to use, especially when I have several sites dedicated for my clients/customers. I believe I am going to have to bite the bullet and upgrade to VPS (Virtual Private Server)
  19. Okay, my experience on exporting and importing mySQL Database Exporting (Pretty Easy) [root@ipsetest ~]# mysqldump -u root -p oaipse > oaipse.sql Importing (not too bad but learned a couple of things) [root@ipseweb ~]# mysql -u root -p oaipse < oaipse.sql Enter password: ERROR 1153 (08S01) at line 732: Got a packet bigger than 'max_allowed_packet' bytes To fix ERROR 1153 perform the following otherwise your database imported successfully. [root@ipseweb ~]# mysql -u root -p Enter password: mysql> set global net_buffer_length=1000000; mysql> set global max_allowed_packet=1000000000; mysql> exit Rerun the import command as noted above before error Verify your database imported [root@ipseweb ~]# mysqlshow -u root -p
  20. One of the most popular internet browsers out there today is Firefox with Chrome being second and Safari next and Internet Explorer consistently falling to last place because of its proprietary features and Microsoft coding. Why is Firefox, Chrome and Safari doing so well. They are built to run on any website not just those websites created with Microsoft FrontPage. Also Firefox and Chrome work on most operating system platforms (Windows, Mac, Linux)... IE only works on windows. So some simple things to do to troubleshoot Firefox. 1. Reset Firefox by typing in the address bar.. about:config 2. Click Reset Firefox Now maybe when you launch firefox it crashes... try and launch it via safe-mode Windows: "C:Program FilesMozilla Firefoxfirefox.exe" -safe-mode Mac: Hold the Option key while launching Firefox Linux: from command line firefox -safe-mode
  21. Both PHP errors and database errors can manifest as a white screen, a blank screen with no information, commonly known in the WordPress community as the WordPress White Screen of Death. There are a number of reasons for the WordPress white screen of death: A Plugin is causing compatibility issues. If you can access the Administration Screens try deactivating all of your Plugins and then reactivating them one by one. If you are unable to access your Screens, log in to your website via FTP. Locate the folder wp-content/plugins and rename the Plugin folder plugins_old. This will deactivate all of your Plugins. You can read more about manually deactivating your plugins in the Troubleshooting FAQ. Your Theme may be causing the problem. This is especially likely if you are experiencing the white screen of death after you have just activated a new Theme. Log in to the WordPress Administration Screens and activate the default WordPress Twenty Twelve Theme. If you can't access your Administration Screens, access your website via FTP and navigate to the /wp-content/themes/ folder. Rename the folder for the active Theme.
  22. How to show mysql databases Before you export your database, make sure you see it mysql -u root -p mysql> show databases; How to Backup and Export MySQL Database To export a MySQL database into a dump file, simply type the following command syntax in the shell. You can use Telnet or SSH to remotely login to the machine if you don’t have access to the physical box. mysqldump -u username -ppassword database_name > dump.sql Replace username with a valid MySQL user ID, password with the valid password for the user (IMPORTANT: no space after -p and the password, else mysqldump will prompt you for password yet will treat the password as database name, so the backup will fail) and database_name with the actual name of the database you want to export. Finally, you can put whatever name you like for the output SQL dump file, here been dump.sql. The while data, tables, structures and database of database_name will be backed up into a SQL text file named dump.sql with the above command. How to Restore and Import MySQL Database You can restore from phpMyAdmin, using Import tab. For faster way, upload the dump file to the MySQL server, and use the following command to import the databases back into the MySQL server. mysql -u username -ppassword database_name < dump.sql The import and export of MySQL database not only is important to recover the data when disaster strikes, but also provides an easy way to migrate or move to another server, such as when switching web hosting providers. However, do note that one common problem – character set encoding. Newer release of mysqldump uses UTF8 as its default charset if nothing is specified, while older versions (older than 4.1 typically) use Latin1 as default characterset. If you database charset is Latin1 and dump in UTF8 collation, the data may ends up become simply rubbish, garbled, or unreadable (frequently happen with WordPress blog). If this case, use –default-character-set=charset_name option to specify the character set or convert the database to UTF8.
  23. A skilled and professional web development team can make that happen using a range of available software tools and strategies that integrate your company’s overall strategy while motivating your employees and enabling them to pull their skills with your corporate data to grow your business and generate revenue. In addition to this, an experienced website development team will merge experience in user interface design with data exchange and integration to make sure that significant business processes and work flow are supported and accomplished effectively. This will ensure your company's website presence supports outside customers and the inside team working to give those customers what they want. One major reason for the increased popularity of web development solutions is that they do not entail maintenance and are particularly scalable.
  24. Find the config.inc.php file located in the phpmyadmin directory. Some examples: WINDOWS WAMP: C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php UBUNTU: /etc/phpmyadmin/config.inc.php Find the line with $cfg['UploadDir'] on it and update it to: WINDOWS WAMP: $cfg['UploadDir'] = 'upload'; UBUNTU: $cfg['UploadDir'] = '/etc/phpmyadmin/upload';[/code] Create a directory called ‘upload’ within the phpmyadmin directory. WINDOWS: C:\wamp\apps\phpmyadmin3.2.0.1\upload\ UBUNTU: /etc/phpmyadmin/upload Then place the large sql file that you are trying to import into the new upload directory. Now when you go onto the db import page within phpmyadmin console you will notice a drop down present that wasn’t there before – it contains all of the sql files in the upload directory that you have just created. You can now select this and begin the import.
  25. 1xx Informational Request received, continuing process. This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. Since HTTP/1.0 did not define any 1xx status codes, servers must not send a 1xx response to an HTTP/1.0 client except under experimental conditions. 100 Continue This means that the server has received the request headers, and that the client should proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request). If the request body is large, sending it to a server when a request has already been rejected based upon inappropriate headers is inefficient. To have a server check if the request could be accepted based on the request's headers alone, a client must send Expect: 100-continue as a header in its initial request and check if a 100 Continue status code is received in response before continuing (or receive 417 Expectation Failed and not continue). 101 Switching Protocols This means the requester has asked the server to switch protocols and the server is acknowledging that it will do so. 102 Processing (WebDAV) (RFC 2518) As a WebDAV request may contain many sub-requests involving file operations, it may take a long time to complete the request. This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost. 122 Request-URI too long This is a non-standard IE7-only code which means the URI is longer than a maximum of 2083 characters. (See code 414.) 2xx Success This class of status codes indicates the action requested by the client was received, understood, accepted and processed successfully. 200 OK Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action. 201 Created The request has been fulfilled and resulted in a new resource being created. 202 Accepted The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place. 203 Non-Authoritative Information (since HTTP/1.1) The server successfully processed the request, but is returning information that may be from another source. 204 No Content The server successfully processed the request, but is not returning any content. 205 Reset Content The server successfully processed the request, but is not returning any content. Unlike a 204 response, this response requires that the requester reset the document view. 206 Partial Content The server is delivering only part of the resource due to a range header sent by the client. The range header is used by tools like wget to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams. 207 Multi-Status (WebDAV) (RFC 4918) The message body that follows is an XML message and can contain a number of separate response codes, depending on how many sub-requests were made. 226 IM Used (RFC 3229) The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance. 3xx Redirection The client must take additional action to complete the request. This class of status code indicates that further action needs to be taken by the user agent in order to fulfil the request. The action required may be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. A user agent should not automatically redirect a request more than five times, since such redirections usually indicate an infinite loop. 300 Multiple Choices Indicates multiple options for the resource that the client may follow. It, for instance, could be used to present different format options for video, list files with different extensions, or word sense disambiguation. 301 Moved Permanently This and all future requests should be directed to the given URI. 302 Found This is an example of industrial practice contradicting the standard. HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect (the original describing phrase was "Moved Temporarily"), but popular browsers implemented 302 with the functionality of a 303 See Other. Therefore, HTTP/1.1 added status codes 303 and 307 to distinguish between the two behaviours. However, the majority of Web applications and frameworks still use the 302 status code as if it were the 303. 303 See Other (since HTTP/1.1) The response to the request can be found under another URI using a GET method. When received in response to a POST (or PUT/DELETE), it should be assumed that the server has received the data and the redirect should be issued with a separate GET message. 304 Not Modified Indicates the resource has not been modified since last requested. Typically, the HTTP client provides a header like the If-Modified-Since header to provide a time against which to compare. Using this saves bandwidth and reprocessing on both the server and client, as only the header data must be sent and received in comparison to the entirety of the page being re-processed by the server, then sent again using more bandwidth of the server and client. 305 Use Proxy (since HTTP/1.1) Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status code, primarily for security reasons. 306 Switch Proxy No longer used. 307 Temporary Redirect (since HTTP/1.1) In this occasion, the request should be repeated with another URI, but future requests can still use the original URI. In contrast to 303, the request method should not be changed when reissuing the original request. For instance, a POST request must be repeated using another POST request. 4xx Client Error The 4xx class of status code is intended for cases in which the client seems to have erred. Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents should display any included entity to the user. These are typically the most common error codes encountered while online. 400 Bad Request The request cannot be fulfilled due to bad syntax. 401 Unauthorized Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. See Basic access authentication and Digest access authentication. 402 Payment Required Reserved for future use. The original intention was that this code might be used as part of some form of digital cash or micropayment scheme, but that has not happened, and this code is not usually used. As an example of its use, however, Apple's MobileMe service generates a 402 error ("httpStatusCode:402" in the Mac OS X Console log) if the MobileMe account is delinquent. 403 Forbidden The request was a legal request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference. 404 Not Found The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible. 405 Method Not Allowed A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource. 406 Not Acceptable The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request. 407 Proxy Authentication Required 408 Request Timeout The server timed out waiting for the request. According to W3 HTTP specifications: "The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time." 409 Conflict Indicates that the request could not be processed because of conflict in the request, such as an edit conflict. 410 Gone Indicates that the resource requested is no longer available and will not be available again. This should be used when a resource has been intentionally removed and the resource should be purged. Upon receiving a 410 status code, the client should not request the resource again in the future. Clients such as search engines should remove the resource from their indices. Most use cases do not require clients and search engines to purge the resource, and a "404 Not Found" may be used instead. 411 Length Required The request did not specify the length of its content, which is required by the requested resource. 412 Precondition Failed The server does not meet one of the preconditions that the requester put on the request. 413 Request Entity Too Large The request is larger than the server is willing or able to process. 414 Request-URI Too Long The URI provided was too long for the server to process. 415 Unsupported Media Type The request entity has a media type which the server or resource does not support. For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format. 416 Requested Range Not Satisfiable The client has asked for a portion of the file, but the server cannot supply that portion. For example, if the client asked for a part of the file that lies beyond the end of the file. 417 Expectation Failed The server cannot meet the requirements of the Expect request-header field. 418 I'm a teapot This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers. 422 Unprocessable Entity (WebDAV) (RFC 4918) The request was well-formed but was unable to be followed due to semantic errors. 423 Locked (WebDAV) (RFC 4918) The resource that is being accessed is locked 424 Failed Dependency (WebDAV) (RFC 4918) The request failed due to failure of a previous request (e.g. a PROPPATCH). 425 Unordered Collection (RFC 3648) Defined in drafts of "WebDAV Advanced Collections Protocol", but not present in "Web Distributed Authoring and Versioning (WebDAV) Ordered Collections Protocol". 426 Upgrade Required (RFC 2817) The client should switch to a different protocol such as TLS/1.0. 444 No Response An Nginx HTTP server extension. The server returns no information to the client and closes the connection (useful as a deterrent for malware). 449 Retry With A Microsoft extension. The request should be retried after performing the appropriate action. 450 Blocked by Windows Parental Controls A Microsoft extension. This error is given when Windows Parental Controls are turned on and are blocking access to the given webpage. 499 Client Closed Request An Nginx HTTP server extension. This code is introduced to log the case when the connection is closed by client while HTTP server is processing its request, making server unable to send the HTTP header back. 5xx Server Error The server failed to fulfill an apparently valid request. Response status codes beginning with the digit "5" indicate cases in which the server is aware that it has encountered an error or is otherwise incapable of performing the request. Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and indicate whether it is a temporary or permanent condition. Likewise, user agents should display any included entity to the user. These response codes are applicable to any request method. 500 Internal Server Error A generic error message, given when no more specific message is suitable. 501 Not Implemented The server either does not recognise the request method, or it lacks the ability to fulfill the request. 502 Bad Gateway The server was acting as a gateway or proxy and received an invalid response from the upstream server. 503 Service Unavailable The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state. 504 Gateway Timeout The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. 505 HTTP Version Not Supported The server does not support the HTTP protocol version used in the request. 506 Variant Also Negotiates (RFC 2295) Transparent content negotiation for the request results in a circular reference. 507 Insufficient Storage (WebDAV) (RFC 4918) 509 Bandwidth Limit Exceeded (Apache bw/limited extension) This status code, while used by many servers, is not specified in any RFCs. 510 Not Extended (RFC 2774) Further extensions to the request are required for the server to fulfill it.
  26. I saw this post and I figured I would add my two cents. Here is a snippet of what I use to create the pureftp database from command line in mysql on my ubuntu box Create a database called pureftpd and a MySQL user named pureftpd which the PureFTPd daemon will use later on to connect to the pureftpd database: mysql -u root -p CREATE DATABASE pureftpd; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON pureftpd.* TO 'pureftpd'@'localhost' IDENTIFIED BY 'ftpdpass'; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON pureftpd.* TO 'pureftpd'@'localhost.localdomain' IDENTIFIED BY 'ftpdpass'; FLUSH PRIVILEGES; Replace the string ftpdpass with whatever password you want to use for the MySQL user pureftpd. Still on the MySQL shell, we create the database table we need (yes, there is only one table!): USE pureftpd; CREATE TABLE ftpd ( User varchar(16) NOT NULL default '', status enum('0','1') NOT NULL default '0', Password varchar(64) NOT NULL default '', Uid varchar(11) NOT NULL default '-1', Gid varchar(11) NOT NULL default '-1', Dir varchar(128) NOT NULL default '', ULBandwidth smallint(5) NOT NULL default '0', DLBandwidth smallint(5) NOT NULL default '0', comment tinytext NOT NULL, ipaccess varchar(15) NOT NULL default '*', QuotaSize smallint(5) NOT NULL default '0', QuotaFiles int(11) NOT NULL default 0, PRIMARY KEY (User), UNIQUE KEY User (User) ) TYPE=MyISAM; quit; As you may have noticed, with the quit; command we have left the MySQL shell and are back on the Linux shell. BTW, (I'm assuming that the hostname of your ftp server system is server1.example.com) you can access phpMyAdmin under http://server1.example.com/phpMyAdmin/ (you can also use the IP address instead of server1.example.com) in a browser and log in as the user pureftpd. Then you can have a look at the database. Later on you can use phpMyAdmin to administrate your PureFTPd server.


  • Upcoming Events

    No upcoming events found
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
  • Create New...