Joe Hesse
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Display problem fixed with "define('SCRIPT_DEBUG', true);"I tried the Firefox Browser Console and it gives a bunch of errors, all of the type:
The stylesheet https://xxxxxx/v1/wp-includes/css/dashicons.min.css?ver=4.0 was not loaded because its MIME type, “text/plain”, is not “text/css”.
Is there a way I can use this info to fix my display problem?
Thank you,
JoeForum: Installing WordPress
In reply to: Display problem fixed with "define('SCRIPT_DEBUG', true);"There are many messages in the WP forums and on the internet indicating that MariaDB is a drop in replacement for MySQL and WP works fine with MariaDB. Many Linux distributions are using MariaDB instead of MySQL. I have done a recent WP install with MariaDB.
I have done WP installs without installing the mod_rewrite module.
I upgraded PHP from 5.3 to 5.4. This change made it worse, the login box for the Dashboard works but it doesn’t look like it should.
Now, with the PHP ugrade, “define(‘SCRIPT_DEBUG’, true);” or “define(‘SCRIPT_DEBUG’, false);” does not make any difference.
I don’t know if my laptop is the problem for this WP install. It is a 4 year old I7 with 8G of memory and a 500G hard drive. It appears to work well.
I would really appreciate some suggestions as to whether I should just give up on installing WP on my laptop or keep trying.
Thank you,
JoeForum: Fixing WordPress
In reply to: Two identical installs behave differentlyHi,
I searched on the codex and it suggested:
“You need to turn on script debugging. Open wp-config.php and add the following line before “That’s all, stop editing! Happy blogging”.
define(‘SCRIPT_DEBUG’, true);”I tried it and it fixed my problem. Even though it was working I got the message:
“Headers and client library minor version mismatch in … wp-db.php on line 1409”As mentioned in the codex:
“turn off script debugging and report the issue on the support forum, telling the volunteers the you turned on script debugging and it solved the problem.”
I am doing the above.
How do I proceed?Forum: Themes and Templates
In reply to: Choosing a ThemeThere are 7 featured themes on wp.org. Have these been vetted? Any one better than the others?
Forum: Localhost Installs
In reply to: WP Address vs. Site AddressIt seems what you are saying is that if index.php is not in the document root of the server, then the Site Address would reflect that.
Forum: Hacks
In reply to: Query from non-wp databaseMy site is down. I’m trying different themes.
Forum: Hacks
In reply to: Query from non-wp databaseMy web/blog is at “hallavenue.com” or “www.hallavenue.com” (no quotes).
Please press the menu button on the top right labeled “Schedule”.
The table that appears is being read from my database and looks great except that the width should be a bit bigger so there is less wraparound in the table cells.
Forum: Hacks
In reply to: Query from non-wp databaseI tried the following.
I created a child theme to the “fruitful” theme.
I modified my custom page template to enclose everything in the <body> with <div> tags. It looks like:
<body>
<div class=”Schedule”>
PHP code to display table is here.
</div>
</body>My style.css for the child theme is:
———————————–
/*
Theme Name: fruitful-child
Template: fruitful
*/@import url(../fruitful/style.css);
body.Schedule { width:100%; } /* <== I added this */
———————————–Unfortunately, this did not work, it looks as before, the table needs to be bigger horizontally so the text in the cells don’t wrap.
Before I start learning about dynamic CSS please let me know that I have done everything right with the child theme.
Forum: Hacks
In reply to: Query from non-wp databaseI took the file page.php, copied it and called the copy Joe.php
I put Joe.php in the correct folder for the theme I am using.It works great! The table is correct and styled the way I want.
The only problem is that the width of the table is too small and it causes text in cells to wrap around.
I want the width of the table to be nearly the full horizontal length of the screen. Putting the following in the <style> tags below didn’t work:
body {width:100%;}I know how to write CSS, I just don’t know where to look. I could put my HTML code in a <div class = “Joe”>
and write CSS to make the screen width almost 100%. Where is the .css file that I should do this in?FYI: I am using the “Fruitful” theme.
Thank you,
Joe Hesse——— Start of file Joe.php
<?php
/*
Template Name: Joe
*/
?><?php
get_header();
?><!DOCTYPE html>
<html><head>
<style type=”text/css”>
CSS Code to style a table is here.
</style>
</head><body>
<?php
PHP code to do a SELECT, create an HTML table is here.
?></body>
</html><?
php get_footer();
?>
———– End of file Joe.phpForum: Fixing WordPress
In reply to: Links from pagesAs I said in a previous message, I had a home page and a second page. The home page had a link to the second page and the link was created with the link button.
At first, clicking the link gave me “Nothing Found”I then changed Settings -> Reading with nothing selected for Post page. This time clicking on the link displayed the second page. I don’t really understand why this made it work. Please help me understand.
Thank you,
JoeForum: Fixing WordPress
In reply to: Links from pagesI used the Link button to create a link from my home page to a second page. When I click on the link on the home page I get “Nothing Found”
Thank you for your help.
Joe