Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. I agree. With proper details a lot of things are possible. Someone would be able to help you get a solution once the big picture is provided. Having a database with the original text and the encrypted almost defeats the purpose of encryption in the first place though. It's not very secure for any purpose.
  2. I have a client who wanted some assistance getitng his feed to get accepted into Itunes. When I first started it was throwing an error message. I spent some time and debugged it. It was because his image wasn't 1400*1400 or bigger. I fixed that and a few other small issues and got the error messages to go away. Now it's throwing a generic error instead. His feed can be found here: http://feeds.feedburner.com/feedburner/WXsXr At first the issue was the image not being the right size (1400*1400). So I fixed that nad now it's just giving me a generic error message. Can’t download episodes from your feed. It's pulling down the feed information, logo and other details and it's trying to load the one episode that's on the feed (which actually as an audio file) but it' snot showing it having any audio. Any advice on what else I need to edit and fix to get this working?
  3. You, my friend, are a saint. I tried that when I first started (reformatted the file). I didn't think about that. Thanks, that worked.
  4. A: Code is as follows: <?php/** * Jetpack Compatibility File * Add theme support for Infinite Scroll. * See: http://jetpack.me/support/infinite-scroll/ */function zerif_jetpack_setup() { add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'footer' => 'page', ) );}add_action( 'after_setup_theme', 'zerif_jetpack_setup' ); ?> I also tried reformatting and redownloading the latest copy of the file. Same issue. B) Yes, that was off PHP Info. At the top: PHP Version 5.4.45 -- Thanks!
  5. A client of mine finished up a new website for himself and needed some assistance taking it live. At first I thought it would be a standard site move. It didn't work out. I moved the files and database over and setup the URL's and everything. Then when I took it live I got the dreaded 500 server error. I spent some time debugging and checked the error log and ran into these errors: [08-May-2017 22:46:21 UTC] PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /home/###/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1 [08-May-2017 22:46:27 UTC] PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /home/###/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1 I removed the duplicates. I did a lot of digging regarding this issue and so far everything I've tried came up empty. If anyone has any advice or feedback I'd appreciate it. It's using PHP Version 5.4.45. If you need any further information, let me know.
  6. My website is http://www.infotechnologist.biz. We handle Web Site Development, web app development, and mobile development. No project is too big, or too small. Contact me today with details. My number is 4049390637.
  7. Thanks, I will keep all of that feedback in mind while doing the design. Thanks!
  8. OK I will probably do that. What are your thoughts on the logo itself overall? Any thoughts (good or bad) on the overall index design as well?
  9. I am getting a much needed re-brand for my business. The potential index page is here: http://infotechnologist.biz/index.jpg The logo I am leaning towards the most is here: http://infotechnologist.biz/new_logo.jpg Some other logo's along the same lines are here: http://infotechnologist.biz/set.jpg What are your thoughts on these initial designs. Based off feedback I will be making a decision, getting more ideas, and making adjustments. Thanks!
  10. There is now way to do what you are trying to. You cannot get someone's location via a browser without some sort of confirmation. If your building a mobile app (IOS/Android) then you can access the GPS, but still it would require the necessary permissions. In regards to checking someones browser and getting the location, that is not possible. There are ways to get pretty close to the location (very close actually) but not without confirmation. You can get Longitude/Latitude using HTML 5 though. http://www.w3schools.com/html/html5_geolocation.asp http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation Either way, good luck!
  11. Here is my recommendation. Create a standard file and name it something like... "download.php". Then setup the download trigger from there. So basically for every file you want to download, you could database some basic information. Like... File name, file path, file Reference Number. Then on the download.php file you would access the file via the reference number only, which would in turn use PHP to trigger the file download. For example, a file named: test.mp4. You could save it in the database as 'test.mp4', '/files/downloads/test.mp4', '1001'. Then on the download link it would be "download.php?reference_id=1001" then use PHP to find that specific file path/name, and then perform the download via PHP. In regards to triggering the download, many tutorials can be found online for that: https://www.google.com/search?q=trigger+download+via+php&oq=trigger+download+via+php&aqs=chrome..69i57j0l2.4190j0j1&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8
  12. Hello, My name is Joyel Puryear. I am the owner, and founder of Infotechnologist.biz. I am not a development company, but a freelancer who has a great many connections in the IT Industry and a significant amount of experience in the field. My website can be found at: http://www.infotechnologist.biz and once there you will find my portfolio, skills, services, and several other pieces of material to help you determine what my capabilities are. You can contact me through my website, via personal message, or via Phone at 4049390637. I am capable of handling most, if not all of your IT needs. Some of my services (but not all of them) are listed below: - Website Development. - Web Application Development - Mobile IOS Development (Phones/Tablets) - Mobile Android Development (Phones/Tablets) - Custom Coding (Xhtml/CSS, and so forth) - Custom Design (Graphic Design/Print Design/Specialty Design (hand drawn artwork, cartoon work, and so forth), and so forth) - Custom Programming (PHP/MYSQL, Javascript, JSON, XML, XLST, Advanced Web Services (Rest, Soap, Amazon, Rets, MLS, and so forth), Advanced Scraping Software (Curl, Data scrapers, web scrapers, information gatherers, bots and so forth) and so forth) - Basic Administrative tasks (writing, proofreading, editing, excel and other office programs, power point presentations, Internet research and development, and so forth) If you should require any of my services (or other services not listed, it never hurts to ask) then feel free to contact me immediately with all project details and requirements. I will work with you to provide a very accurate quote and timeline. I am very flexible in regards to payment terms, payment arrangements, quotes, timelines and so forth. I look forward to hearing back from you.
  13. Yes I know. This was something done by another developer, I am just doing some imports. I figured out the issue. Something about security type "Definer". I changed it to USER and re-created the view. It works fine now. Some Mysql implementations can't support the DEFINER security definition or something. Thanks!
  14. OK I ran some code that shows me the definition. How could I fix this so that it works, maybe this'll help:
  15. Actually it is a view. All of them are type MyISAM except for er3-admins which is actually a view. I didn't setup this database, so I am unfamiliar with how to fix this error. Any advice is appreciated, I just wanted to add that extra bit of information. The exact error I am getting, is as follows: #1356 - View 'c41ATSer3db.er3-admins' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them.
  16. I have been doing some database importing/exporting over the last few days. For the most part things have been smooth, but I ran into a strange error that I have never dealt with before. A tablet called "admin". It's throwing an error when trying to access it in PHPMyADmin: View 'c41ATSer3db.admin' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them I am not entirely sure what this means. I have done some Google Searches, and tried to run some code in SQL to try to fix this (per what I found on Google) and ran into further errors and syntax errors. I am not even sure this table is using a view. It's simply a database table with standard administrative fields (username, password, email address, and so forth). Thoughts?
  17. Hiding extensions can be found here: http://programanddesign.com/web/htaccess/use-htaccess-to-hide-file-extensions/
  18. I can give you a basic breakdown of how it works, or how it should work. You would need a form that supported file uploads. First off, you would need to add the correct Enctype, as described here: http://www.w3schools.com/tags/att_form_enctype.asp For the form to be able to support files. You would also need a file input type as well, for them to be able to select/attach a file. On submittal of the form you need to take the file, save it somewhere on the server (in a folder made for uploads, or something similar) and then save the NAME of the file into the database. Then later on, when you get the file name from the database, you can use that to create a path to the file an do whatever with it. In this situation, use it in an image tag in order to display the image they uploaded, or something similar. To go into further detail, read this tutorial and work through it: http://www.htmlgoodies.com/beyond/php/article.php/3877766/Web-Developer-How-To-Upload-Images-Using-PHP.htm
  19. There are no "Syntax" errors with the code that you pasted. Most likely the error is somewhere else in the file. Please copy/paste all relevant code, and we can review and see if there are any obvious errors in the code.
  20. Creating an API can be easy, or hard depending on the type of API. Your best bet would be to get familiar with different types of API's and various web services, and find out which approach would be best for your needs. The tutorials located here: http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/ Will get you up and running in regards to building API's within just a couple of hours. Go through the first couple of tutorials, and all your questions will be answered and you'll have a good idea of how you want to put your API together.
  21. http://bjw.co.nz/developer/general/75-how-to-prevent-form-resubmission
  22. <?php $dateTo = $this->input->post('dateFrom'); $dateTo = strtotime($dateTo . "+1 year"); $dateTo = date('m/d/Y', $dateTo); $dateTo = strtotime($dateTo . "-1 day"); $dateTo = date('Y-m-d', $dateTo); ?> Is there a better way to write/condense this and still retail accuracy? This takes a date, adds a year to it, then takes away one day.
  23. I did some deeper timezone tests, it is defaulting to the server timezone. Turns out just the front end display was off. Thanks again for feedback on that.
  24. 1. Your right, sorry I was in a hurry when typing. The type of column is timestamp. 2. It depends. There are some actions that are done via cron by the system. In this specific situation the query is ran on the front end. When the user clicks a certain action, a series of things are checked, at which point the entry is added to the database. I use standard Codeigniter entry code, and the add_date field is automatically populated by MYSQL on creation. Any advice?
  25. I have a mysql table that uses CURRENT_TIMESTAMP on an add field. I was assuming (since it was in Mysql) that it would default to server timezone (EST) which also happens to be my timezone. So during testing, this was the case. The client however is in California and he is 3 hours behind me. His complaint was, that when he tested the system anywhere on his timezone from 9-12 it should technically show up for the next day due to timezone. Essentially he is saying that if he performs this action between 9-11:59 on his timezone (west coast) then during those 3 hours each night, the system should report the action as being the next day, since it should be running on EST timezone. I do not understand why Mysql is using the local timezone instead of the timezone of the user. All I have is a datetime field in the database with the current value set to CURRENT_TIMESTAMP. Any advice is appreciated, Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.