« first day (1354 days earlier)      last day (3600 days later) » 

11:00 AM
LinkedInception
 
@Billy each client you set on wordpress is on wordpress
 
you just said you had no interest in learning how to use a server properly, we all saw it @Billy
 
@Billy we're assuming that because you say you don't need to do the next step
 
think they can be reasoned to buy a whole new site, after you sold them awesome wp?
 
@DaveRandom You need to add more marketing bull to your linkedin profile. Just look at mine, it's mostly crap - but it's what they want to see ;)
 
11:00 AM
I'm not on there ... I'm asked all the time ... seems unimportant ...
why you going there chaps ?
 
What who wants to see? I already have a job...
 
@JoeWatkins Right now I don't intend to delve any more server side stuff, I was trying to make that quite apparent.
"Server side stuff" = hours of reading/learning that I don't have time for
 
@DaveRandom link
 
@JoeWatkins I created an account because all the cool kids were doing it and at the time I needed a new job.
 
@DaveRandom Yeah yeah but, there's always better opportunities out there. You can't become complacent at one place otherwise you'll never get a pay rise :-P
 
11:01 AM
@Billy wordpress = hours of reading/learning
 
my screen is so pathetic you are called @DaveRando
 
@Billy then this problem is the one you should pass to someone, pay him for his knowledge as this is really something you won't get help here
 
@RonniSkansing I already know wordpress. That's my point?!
 
Some place in Liverpool offered me 30k and I've only been doing PHP for 2 years, and OOP for about 1 - it's about selling yourself, and not on the street corner
 
@Billy you do not know wordpress, you just know how to click in a control panel
or maybe I missed something
 
11:03 AM
@RonniSkansing How can you tell me what I know how to do? please fuck off
 
@JoeWatkins It's really odd that this chat does that to me. efnet also does that to me, but that at least has a historical reason
@RonniSkansing My li prof? linkedin.com/profile/view?id=275971464
 
@Billy because wordpress is backend
 
Wordpress is PHP's jQuery
 
11:04 AM
@Billy do not get angry with me. I am trying to tell you something that is quite important
 
if you imagine a really well drawn diagram with frontend and backend all expressed very clearly ... now imagine a turd on the diagram ... the turd is wordpress ...
 
You sound like you're taking the piss
 
@Billy So you had three response options then: ["Ignore", "Respond in Kind", "Ask for clarification and discuss intelligently"]
You took $array[1], I would have taken $array[2];. It would've gotten me further, I don't know about you ;)
 
@Jimbo Sorry, what did I ignore?
 
@DaveRandom just need to reset my pwd, moment
 
11:06 AM
@Billy Arrays are zero indexed
 
Respond in Kind?This doesn't make sense to me..
 
@Billy You responded rudely because you thought the person talking to you was being rude. That's "in kind"
But anyway, you chose 1, I would argue 2 would be a better choice
 
Wordpress is PHP's jQuery in the sense that jQuery is JavaScript but you can learn jQuery and not JavaScript (kind of), same with Wordpress.
I can put together wordpress templates that are technically PHP, but it is all WP commands.
 
@DaveRandom we are to far apart in network. It just says "You and this linkedin user... bl bla"
 
I learned jQuery before JavaScript x(
 
11:09 AM
@Billy if you learn jQuery before learning JS you're screwed
 
@HamZa depends
 
@SergeyTelshevsky no, there is no "depends"
 
@HamZa Then there may still be hope for me! Yes! :D
 
@tereško why?
 
@SergeyTelshevsky It's like learning to use a framework before learning the language
 
11:10 AM
@tereško Sure there is, you just have to relearn javascript from scratch and not use jQuery
 
@Magikaas which is something that most of people are not capable off
 
@HamZa Yes.... what's your point?
 
@HamZa Nah, I did that. Then learned JS. Then learned how to put OO concepts into practice with JS's horrible prototyping
Really looking forward to ECMA6. When's that out btw
 
@tereško I'm not saying it'll be easy, but you can't say outright that it is not possible, because that is simply not true, if you say that because many people cba or just can't learn a language after learning to use a framework within that language, that that must mean that that applies to everyone.
 
I found php.ini and turned error logging on. is this correct?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
;error_log = filename
 
11:11 AM
@Jimbo or .. you could ignore the object-oriented aspect on go with pure functional style
 
@Billy if you learn developing in WP before you have a solid grasp on PHP, then you are not doing yourself a favor.
 
I still can't find any log files or folders, though
 
@HamZa well, you operate with some existing commands, then you come to the point when you miss something and you build it from scratch using pure javascript
 
lol
 
@tereško But the OO side of it is pretty. Like, I created a Websocket object that you call .subscribe('topic') on, and you can then re-use the code anywhere in the application and it's really simple
 
11:13 AM
@RonniSkansing I understand that. Do you understand that when I need help with a small problem, and my boss wants this website finished in 4 hours, that I CANNOT go and start researching weeks worth of information??
 
@Jimbo I was talking about programming style, not the API
 
I have a fairly good grasp an PHP, as a language
 
@Billy yes I understand that.
 
@Billy normally that means you should search another job
 
@AlmaDo Right now? When I have 4 hours to finish this site?
 
11:15 AM
@Billy the moment your boss asks you to do things outside of your competence that he is aware of
 
@Billy Perhaps if you're not going to make it, you should just tell your boss? Honestly is the best policy, plus you're a junior and you can't be expected to give 100%, 100% of the time as a human being, never mind a junior who is still learning
And, you'll be less stressed, and get more time.
 
@Billy irrelevant. If there is a task which must be resolved in 4 hours, then it's one of two cases. First, your boss has no idea that it is a task for weeks of work. And you can not prove that. So, sooner or later such situation will appear again => change job. Second case - you're not good enough since work for 4 hours means weeks of research to you. Again => change job
 
So I'll tell him, "This thing that should have taken 1 minute (upload times), actually will take me a month"?
Because I need to learn everything about a server
I'll start here w3.org/Protocols
 
@Billy wasnt the original issue just a 500?
 
Explain the situation as it is
 
11:18 AM
Are any of you familiar with adaptive images? adaptive-images.com
I have dropped the file into the root
Pretty sure my .htaccess is correct
RewriteCond %{REQUEST_URI} wp-content/uploads
RewriteRule .(?:jpe?g|gif|png)$ adaptive-images.php
before I changed the permissions to 777 I had other errors
permission for mkdir()
Gave it 777, now I have 500 error.
 
are you running the development on the production server?
 
Yes/same thing
 
Looks good
 
@Billy you understand that saying "I have 500 error" is as informative as "It doesn't work"
 
I know.
 
11:21 AM
@Jimbo wow... how can you live off that? How much is rent where you live?
 
@Jimbo Yes.
 
@Patrick How can one person live off £30,000 per year? Easy, considering rent for a two bedroomed house can be like £550 p/m, and my bike is £225 p/m (lol)
 
@Jimbo No.
What?
 
@Jimbo ah pounds. :)
 
11:23 AM
@Patrick Yeah, were you thinking dollars? lol
 
But this can't be true because it was definitely redirecting to the script
 
@Jimbo yeah, that would have been pretty low
 
as I said, before I changed the permissions, I had other errors, such as permissions denied for mkdir();, which was from adaptive-images.php
so the .htaccess must have been OK?
 
@Billy It means it's being run, but not that it receives right arguments
 
@Billy what about the normal wp .htaccess stuff? have you removed it?
 
11:25 AM
@Jimbo How much do you earn for more senior positions? Still seems very low compared to Switzerland, but then living costs here are also much higher
 
No
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~sp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~sp/index.php [L]

RewriteCond %{REQUEST_URI} wp-content/uploads
RewriteRule .(?:jpe?g|gif|png)$ /adaptive-images.php
</IfModule>

# END WordPress
 
@Patrick Seniors can easily earn £50,000+. But for someone who is effectively a junior, 30k is pretty good (and I'm not on that yet)
 
@Billy Obligatory link: wordpress.org/plugins/uninstall
 
@Billy you need to see what that 500 error means.
 
I found php.ini file and turned error logging on
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
;error_log = filename
do I need to configure error_log?
as I still can't find any log files or folders
 
11:29 AM
Hi everybody, can anybody know how to connect SMS gateway in php without purchasing?
 
:17461285 That was according to the htaccess tester :-)
 
@Jimbo sorry
 
@SELVA I know of no service that is free
 
@SergeyTelshevsky This is very confusing to me. the .htaccess tester agrees with you that it is being redirected to uploads/ etc. but then how can the script possibly be running??
 
0
Q: Why the extra information getting added to the excel file which is to be downloaded using PHP headers?

PHPLoverI'm writing PHP array data to the excel file using some library. When I write the data to the excel file and echo some success message, it works fine. No other data than the intended array gets added to the file. But when I use headers to make the download of same file functionality workable some...

 
11:31 AM
@Billy we need more information on that error.
 
And I have asked 3 times about the error logging
2 mins ago, by Billy
do I need to configure error_log?
2 mins ago, by Billy
as I still can't find any log files or folders
in my php.ini file..
 
@RonniSkansing: Ok, thanks, I need similar way to OTP.
Where it wont store the OTP at back end instead will handle at script itself then validate the same.can you help
 
Morning
 
I've been trying to find more information on the error for like an hour now
 
in JavaScript, 19 mins ago, by dievardump
"my Javascript is very weak, so I decided to use AngularJS"
 
11:34 AM
@SELVA I did not get that last part =/
 
@SecondRikudo ping?
 
@SergeyTelshevsky you keep asking me for information on the error and I keep saying I'm trying to activate error logging but I am having trouble
 
@RonniSkansing Too far apart for what, sorry?
 
If I had information on the error, I could probably solve this myself
 
@DaveRandom it was the linkedin link, I can not use it, we are too far apart in network
 
11:35 AM
@Billy you really should contact your hosting provider and tell him to set up error logging for you
 
@RonniSkansing: Ok, thanks, I need similar way to OTP.
Where it wont store the OTP at back end instead will handle at script itself then validate the same.can you help, need to use script instead of back end. did you get my question/
 
Can't I do it in php.ini?
 
@Billy If you do not know how to configure the production server, maybe you should develop locally?
 
@DaveRandom Pong
 
11:36 AM
@Billy you don't know the path's you should set up
 
@RonniSkansing Spend a few hours setting up a local server, for no reason? No thanks.
 
@SELVA yea you need a SMS ot the user with a code?
 
lol @DaveRandom
 
@Billy think I would give oyu advice about something for no reason?
If you had it locally you could easily locate the error
 
I endorse you for every single web development technique in existence and you endorse my for MySQL XD
 
11:37 AM
you would only need to install mysql and php
 
yes @RonniSkansing..
 
then run the buildin server
 
I think it would take longer to duplicate the enviroment than to just find this error
 
maybe
 
I already have MySQL and apache
 
11:38 AM
(Not that I care much, yeah? I hardly use LinkedIn)
 
It was a suggestion. What is the error atm Billy?
 
@SergeyTelshevsky I don't see any path variables, apart from error_log
I'm just trying to turn on error logging at the moment
so I can find the source of server error
This is in my php.ini file, can this not help me turn on error logging?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
;error_log = filename
 
@Billy god damn, you reject every advice people in this room give you
@Billy you know the file where the logs will be stored?
where the server writes them?
 
@SergeyTelshevsky unhelpful advice..
 
11:40 AM
@RonniSkansing: can you give ideas to create?
 
@SergeyTelshevsky No. I think that's 99% the problem here
 
@SergeyTelshevsky left click on user's avatar and click "ignore this user"
 
can't I define it here with error_log?
 
@Billy Watch it, people are giving you advice for free, of their own free time.
 
@SecondRikudo Yes but I have already made it very clear that saying "Go and learn this" or "maybe you should try doing this other really long thing" is just not helpful at all
 
11:41 AM
@tereško this is the last way I usually go, but I'm getting close
 
Because there is no time for these things
 
@Billy Well, that means that you should.
 
@SecondRikudo Do you know off hand how often the vote reversal script runs?
 
There are no magic solutions.
@DaveRandom Every day at 3 AM
 
I'm not asking for magic
just a little troubleshooting help
 
11:42 AM
Oh right OK cool thanks
 
@SecondRikudo @JoeWatkins said there are
 
@RonniSkansing What you mean you can't even view my profile?
 
it's not a lot to ask. I'd be more than happy to return the favour if I ever could.
 
@DaveRandom yea
I need a premium membership for that
 
11:42 AM
Weird, I thought they were all just public
 
or know one of your friends or something
lol
 
@RonniSkansing have you got a link to yours?
 
why are you people even using LinkedIn ?
 
@bwoebi ping
 
11:43 AM
@DaveRandom pong
 
@Billy this is the way you usually troubleshoot
 
@tereško I've had plenty of recruiters ask me if I want a job, and a few companies message me asking the same. It's networking
 
Never not network
 
@SergeyTelshevsky When I have absolutely no idea how to proceed.. what else can I do ???
 
11:43 AM
@bwoebi Code sample in your last email to internals doesn't work, as you seem to suggest. 3v4l.org/Cq2Vt
If it did it would be a huge principle of least surprise violation, as well
 
@tereško my mate went to netherlands and it was obligatory in most cases to have either good linkedin profile either signed recommendation letters
 
@RonniSkansing?..
 
@Billy debug.
 
@SELVA moment
 
I'm trying!!?!
 
11:44 AM
@Jimbo might be a western thing. I have got 0 job oppurtunities from it
 
@RonniSkansing wtf, how are you supposed to determine that you know anyone in the first place then?
If I send you an email will that change it?
 
@SergeyTelshevsky That is not my experience, but maybe it is for foreigners
 
@PeeHaa really, and it was a surprise for him, as here no one even asks if by some chance you have one
 
In the HTML/CSS room, I never give any bullshit to anyone
if people want help I just fucking help
If I can
 
@tereško You need more connections, a profile "like about you and how awesome you are and what you want from your career", a better profile picture, and more skills on there that's why. They'll look at your profile and just move on as there's nothing in it atm
 
11:46 AM
@bwoebi still doesn't work after I correct the fancy quotes copypasta error either :-P 3v4l.org/Q8caF
 
@DaveRandom woops, should be 3v4l.org/78S2C
 
@SELVA most providers have VERY simple interfaces for such. Like sending a request to provider.com/sms/number=101010101&msg=blabla&sender=0101010101
 
@Billy no you're not debugging, you're trying to fix something not knowing what's broken
 
@bwoebi ...which still doesn't work...
 
and often sell points which you exchange for the SMS's
 
11:47 AM
> Fatal error: Arrays are not allowed in class constants in /in/78S2C on line 9
 
@SergeyTelshevsky I've been trying to turn on error logging, so I can BEGIN debugging
ffs!
 
Like I say, it shouldn't work, even if you are expecting it to
 
@DaveRandom I think so
lol
 
@Jimbo lol
 
11:47 AM
that so they can cash in on the HR department
 
@DaveRandom not hhvm or phpng.
 
needing premium to lurk
 
@bwoebi Oh did it only get merged in then? my bad
 
yep
 
@Billy you would get help by setting up logging on a local development environment but you resist, then I have said you should call the hosting provider and ask them to enable it for you, you gave no response to that
 
11:48 AM
@Billy did you turn on DEBUG in the wp config?
 
But still, it shouldn't work. That's a massive principle-of-least-surprise violation @bwoebi, it implies that var_dump(Foo::BAR[4]); should work
 
@RonniSkansing No, I didn't know that existed.
 
@Billy check the wp-config
 
@DaveRandom it should, though. Don't know why this isn't implemented yet.
 
@bwoebi so your patch should allow arrays in constants? That wasn't part of the original spec. I don't have any problem with it, but it's moving the goal posts.
 
11:50 AM
@SergeyTelshevsky Setting up a local environment is not worth the time for the benefits. The hosting provider take tickets and do not get back to you for several days. I will do this if I have to but I've been searching for a yes or no answer: Can I turn on error logging from the php.ini file? As I found a whole section titled error logging I'm assuming yes.
 
Also, in that case, you would need to update define() to allow them as well
 
@RonniSkansing: sorry, can't able to follow you, can you tell me in detail please/
 
Having what they call "pretty URLs" has nothing to do with using an MVC framework. That's just an url rewrite. There was a time when they said it could influence SEO. Google will never tell what exactly takes in consideration to rank search results but it safe to assume it does no longer matter. MVC frameworks or design pattenrns are a structured way to layout your application and some frameworks may include nice urls as a plus, but also non MVC apps (like wordpress) can do that natively. — amenadiel 6 mins ago
 
@RonniSkansing I turned on debugging in wp, does it save to a log file? and do you know where it is?
 
why is it that I cannot downvote comments ?
 
11:52 AM
tbh I wouldn't find constant arrays that useful, if I could write public $foo = new \SplStack;, that would be useful. I'm not against doing it as such, just seems like it's not hugely useful and a bit surprising
 
@Billy it spits out the errors on the screen, if they are warnings etc. Else no. The important part is that if you do not set it, it turns error logging off
 
Ok well I have turned it on, getting no on screen errors anywhere
 
@tereško Let's not start targeting users, shall we?
 
But @Billy I really lost track on which error is it you are trying to recover/see.. I can see on your domain it makes a couple 404 while trying to grab the pictures
 
11:55 AM
@SecondRikudo I needed a way to downvote =]
 
@RonniSkansing It used to be a 500.. now it is 404..
 
@RonniSkansing: Thanks :)
 
okay, well if you look in whatever browser you are usings developer thing, you can see the path it is trying to get the pictures from
Is it the correct path?
 
Ah, it is because I changed the .htaccess file
 
11:57 AM
lol
 
I have changed the permissions so you can see, the .htaccess is redirecting the image request correctly to the adaptive-images.php script
 
@DaveRandom if you want you can add me via my email <rskansing>@<gmail> minus the < > and plus .com =]
 
because the wrong permissions shows the error's source
 
moment
 
IIS is amazing at increasing development time.
 

« first day (1354 days earlier)      last day (3600 days later) »