bbhank
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: RSS URL errorThank you.
That’s not what I get here. Will look into.
Forum: Fixing WordPress
In reply to: RSS URL errorYes. That was one of the first things. Tried with various browsers. Swapped themes, too. All the same.
bowlingquest.com
Forum: Everything else WordPress
In reply to: Sync FieldsThe address data in the locations database needs to always be the same as in the main database. When the address data changes in the main database, this needs to be automatically changed in the locations database.
Solution is uncheck box in settings that allow people to subscribe to site.
Forum: Plugins
In reply to: [WP Datepicker] php ProblemEliminated the theme as a possible culprit.
THEN:
Took apart the whole page. Reassembled it piece by piece, php code block by php code block.
Problem was not where I thought it would be, but I didn’t know.Took out this code:
“//select which database you want to edit
mysql_select_db(“database”)or die( “<p><span style=\”color: red;\”>Unable to select database</span></p>”);”Realized database already selected. Tested and It now works!
Thank you much.
Out of 5 possible stars you must get at least 8 for this kind of help.Forum: Plugins
In reply to: [WP Datepicker] php ProblemThank you.
Now at least I know where the error is.
Forum: Plugins
In reply to: [WP Datepicker] php ProblemI have the same theme as ever. This is the same code as ever. Nothing changed on my end. That’s the frustrating part. I didn’t write the theme. The last part of May a lot of things stopped working on my site. I hadn’t even been on the site. There were no virus or malware. Everything has had to be rebuilt. This is the last piece that doesn’t work and you say there is no error in my code but in the page itself. Thank you for the time and video but the stuff you are talking about on the page, in the theme, is not something I built, or can edit. All I can do is try another theme but that wrecks everything else.
Forum: Plugins
In reply to: [WP Datepicker] php ProblemAs for the “implementation”, not sure of what you mean by that, but no, there is no javascript anywhere in the code. The datepicker always worked as it was. There are no html tags in the actual script. I tried that with and without and it had no effect.
Your tip is not clear. This is where more succinct description is needed. Not everybody is a programmer, nor do we want to be.
Please expand your instructions and explanations to where us non-programmers can understand them. It is not clear how to put the datepicker on the page and how to set it up. It shows 3 methods but only one, the html, makes any sense, and how to use it is not explained. The video is of no help.
Forum: Plugins
In reply to: [WP Datepicker] php ProblemFrom footer.php –
do_action( ‘__before_footer’ ); ?>
<!– FOOTER –>
<footer id=”footer” class=”<?php echo czr_fn__f(‘tc_footer_classes’, ”) ?>”>
<?php do_action( ‘__footer’ ); // hook of footer widget and colophon?>
</footer>
</div><!– //#tc-page-wrapper –>
<?php
do_action( ‘__after_page_wrap’ );
wp_footer(); //do not remove, used by the theme and many plugins
do_action( ‘__after_footer’ ); ?>
</body>
<?php do_action( ‘__after_body’ ); ?>
</html>Forum: Fixing WordPress
In reply to: Execute custom php in template and themeRewrote a lot of the queries. I’m thinking it was old. It’s possible the host upgraded their version of MySQL to MySQLi. Something about May 26. My code was written with MySQL several years ago.
Forum: Fixing WordPress
In reply to: Execute custom php in template and themeThat’s what I’ve been doing.
Not being a programmer, I used Custom Shortcode Creator plugin to house the php. It all worked until recently. I’m running the site in debug mode and getting no errors at all. Got very little to go on. I’ve tried putting the code directly into the template but it doesn’t work and gives no error message that way either.Forum: Fixing WordPress
In reply to: Execute custom php in template and themeThe data is in 3 separate tables in the database. The queries and formatting how its displayed has all been done and worked from the time the site was built. When the php was working, you would select a business by way of the dropdown. That takes you to the page for that business and shows data from a table that has stuff about the business and a table that has events from a calendar. It also has a map that gets its location from the database.
Forum: Fixing WordPress
In reply to: Execute custom php in template and themeNot sure of what you mean with on the fly but each page shows the information for that page, that business, by ID number. When you go to the page it is for one particular business. Data for each business changes freely.
I was using exec-php without problem until it ceased to work. Now none of the shortcodes work. Presently the php is in Custom ShortCode Creator, which also shows its on the way out. Hasn’t been updated in a long time. No word from the producer. Its shortcodes are in the main template of a child theme.
I also tried putting the actual php in place of the shortcodes and without exec-php they didn’t work that way either. Before the loss of exec-php neither was a problem. I could use either shortcode or php wherever I wanted.
- This reply was modified 7 years, 9 months ago by bbhank.
Forum: Everything else WordPress
In reply to: Sync FieldsThe ID, Name, Address, City, State, and Zip, information, are the same for these two tables. The corresponding fields in the Locations table needs to always be the same as the main data table, for each record, whether or not the field names are the same.
Forum: Everything else WordPress
In reply to: Sync FieldsLooking for plugin that will sync any selected fields in any selected table with any selected fields in any other selected table, in the same database, in either direction, independent of how any other system works with them. The tables that need syncing are part of two separate systems, one written almost totally in java and the other totally in php. The locations table (java) needs to be identical with the locations only, in the main database table. Every time there is a change or addition to the main database, certain location data (fields) for that table needs to be synchronized with the locations table. The locations data is used by a calendar whereas the main data is used as an information database that uses the calendar events but not its locations. This is why the sync is one direction only (main to locations), and only for selected fields used by the calendar locations database.