General help

Problem with Apache Server using Custom theme (Elegance)

 
 
Picture of japun balili
Problem with Apache Server using Custom theme (Elegance)
 

How about this sir?? Apache stops working when i used "elegance" moodle.

Why is it?? Please help me.


 
Average of ratings: -
Picture of Danny Wahl
Re: Elegance Theme Released
Group DevelopersGroup Particularly helpful Moodlers

can you paste the logs, those would be much more helpful. wink

 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 

What logs sir???  hehe.. just new to this stuff ^_^.

 
Average of ratings: -
Picture of Danny Wahl
Re: Elegance Theme Released
Group DevelopersGroup Particularly helpful Moodlers

your apache logs.  The "click here for more details" would probably be a good place to start.

 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 

Hi Danny. 

Ohh.. I see ^_^.

Attached are the screen shots of the apache logs. ^_^



Hope you can help with this, cause I tried to solve it a few times but i failed for several times hehe.^_^

 
Average of ratings: -
It's only an avatar...
Re: Elegance Theme Released
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

What operating system is your Moodle server running on? 

What version of Apache is it using?

What version of PHP is it using?

What version of MySQL is it using?

How do you access your server?

Have you access to phpMyAdmin?

Who setup the server?

Who installed Moodle on the server?

How do you install a theme on your server?

If you can answer these question then we might be getting somewhere.

 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 

Hi Mary. I hope these statements will satisfy your questions. ^_^

Windows 8

Apache 2.4.4

PHP 5.5.3 (VC11 X86 32bit thread safe)

MySQL 5.5.32

I'm not sure if this is what you mean. But I accessed moodle through localhost (localhost/moodle).

Yes, this is where I create databases. (phpMyAdmin 4.0.4)

Wait, wait. I'm currently doing it offline through localhost. (What is that server BTW?)

I downloaded moodle and pasted the moodle folder to C:/xampp/htdocs. And installed it through localhost/moodle.

I usually pasted a folder of theme in the ...moodle/theme folder. (I did it in every theme, like essential and it's doing fine.)


I have XAMPP Control Panel Version 3.2.1 ^_^.

And one more, I used moodle 2.7 with elegance that I got from https://github.com/thedannywahl/moodle-theme_elegance. But same output, same error. And I tried using theme "bootstrap 3" too, same output, same error.

 
Average of ratings: -
It's only an avatar...
Re: Elegance Theme Released
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

OK,

Well you seem to have all the bits in place. What might be happening is that because you are disconnected from the Internet (OFF LINE) your server cannot connect to other servers to gather the bits and pieces like the extra fonts and stuff, so it just stops working.

To stop this happening try disabling the CDN links in the settings. You can do this if you have Clean theme set as your default theme. Just go to Site Administration > Appearance > Themes > Elegance (Google Fonts) settings and switch it OFF.  Then try going back into the Elegance theme and it should work,

That's all I can think it is.

Have you also read this answer in the other forum post?

https://moodle.org/mod/forum/discuss.php?d=258739&parent=1127355

Mary

 
Average of ratings: -
It's only an avatar...
Re: Elegance Theme Released
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

I think I may be wrong with what I said about the fonts because I was getting this theme confused with Essential.

However...it looks very much like you have the wrong version of MySQL for Moodle 2.7 to work.

Here are the requirements:

http://docs.moodle.org/dev/Moodle_2.7_release_notes#Database_requirements

 

 
Average of ratings: -
Gmads
Re: Elegance Theme Released
Group Testers

The MySQL version is Ok: 5.5.32 > 5.5.31 smile

 
Average of ratings: -
It's only an avatar...
Re: Elegance Theme Released
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

I made a mistake and came back to edit it but missed the time window. smile

I confused the version of phpMyAdmin and MySQL

 
Average of ratings: -
Gmads
Re: Elegance Theme Released
Group Testers

Yes... that time limit is a bit of a bother sometimes big grin

 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 
Hi Mary,

I have moodle 2.6.1 installed too, it's my first moodle, had my first elegance and had my first problem:D. So I tried moodle 2.7, hoping for a good luck, but ahaha same problem I've encountered.



-japun
 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 

Yeah, I remember that I enabled that thing. I'll check it out later ^_^.

 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 

Hi Guillermo,

I'll note them out.

I am really confused about that port 80 "thing", so I uninstalled some of my apps in my pc and left only xampp, chrome, firefox, and those offline apps. But nothing had changed, apache has still freaked me out. smile


Btw, thanks for your great help.


-japun

 
Average of ratings: -
Gmads
Re: Elegance Theme Released
Group Testers

Hello Japun,

Well, you can imagine ports as if they were just numbered doors through which each type of data, or protocol, has to go through. So, for example, web pages (http) uses port 80, ftp (file transfer protocol) uses 21 and mail (pop3) uses 110. It's like where one arrives at an airport, citizens go through one port of entry and foreigners through another.

http://computer.howstuffworks.com/internet/basics/internet-infrastructure10.htm

I'm not sure about the actual problem you're having, but as it seems to be related to your web server (Apache), you have to make sure that Skype isn't running when you start the web server.

 
Average of ratings: -
Picture of japun balili
Re: Elegance Theme Released
 
But I have no skype installed in my laptop sir. But I guess some of my apps are causing it. Gotta check it out. Unfortunately I haven't fixed it yet. ^_^

But thank you very much for the help ^_^.


-japun
 
Average of ratings: -
Picture of John Banner
Re: Problem with Apache Server using Custom theme (Elegance)
 

I have the same issue, Bootstrap 3, Elegance, and Essential. All 3 force apache to crash. Any other theme works just fine. I know for sure it is not the setup or else other themes would have the same issue. I just loaded Aardvark last week without issue. I haven't been able to solve it, tried changing settings in PHP. Apache, MySQL , even with Debugging on it will not even get far enough to load the debugging message. Nothing in the error logs even with full developer mode on, it just seems to crash, stops loading.


Thanks,

John Banner

 
Average of ratings: -
Picture of japun balili
Re: Problem with Apache Server using Custom theme (Elegance)
 

Hi john.

Same here, but I have no problem about essential it seems good to me. big grin


-japun

 
Average of ratings: -