I was developing a joomla website that run on localhost recently. Today I started wamp server and tried to access the localhost. But I couldn't access it and wamp icon was half white and half yellow.
I did some search to find the error.Skype was running in my machine and that was the problem. I quit skype by write clicking the skype icon that was on task bar and selecting quit.
Then, I restarted wamp and everything was solved.
When installing affinity template in joomla, you might get following warning.
Warning: Call-time pass-by-reference has been deprecated in /home/content/35/5107635/html/sd/templates/rt_affinity_j15/rt_sectionrows.php on line 184
Open the rt_sectionrows.php file in an editor(preferably notepad++) using the mentioned URL.Then go to the indicated line number.You will see some thing like below.
call_user_func($block, &$this, $cases);
remove the & sign and save the file. Now refresh the web page and you will see warning has gone.
Last week,I tried to develop a simple parser using Flex and Bison for C- language.But when I try to compile it using "gcc -o myparser cm.tab.c lex.yy.c" in terminal, I got an error saying there are multiple definitions of main.
I've put main functions in both flex and bison files.Then I got to know that there should be only one main function and it can be included in any of those files.
When I remove "main" in flex file, that error was fixed and new error appeared saying "reference to yywrap is missing". Then I insert yywrap(){return (1);} to flex file and it woked!!