CSS background-position Property

it was pulling it in here http://www.deniserose.epizy.com/music_now_playing.php now the icludesare not working as an hour ago

Sorry i gave you now playing url fetch is here http://www.deniserose.epizy.com/fetch_sql2.php
new version main page here http://www.deniserose.epizy.com/music_playing.php now the back up does was working all morning and yesterday and now doing same thing ‘undefined’ what does this even mean ?

<div id='player' onclick('runimages();')><audio controls src = 'musicserver/;'id='MediaPlayer1' autoplay='autoplay' controls='controls' ></audio></div><br><div id='np_track_text' class='table-responsive'></div></div></div></body>

here is what the page source contains nothing . @Admin has this been changed since yesterday too ?

my get is working

  1. Request URL:

http://www.deniserose.epizy.com/fetch_sql.php

  1. Request Method:

GET

  1. Status Code:

200 OK

  1. Remote Address:

185.27.134.150:80

  1. Referrer Policy:

strict-origin-when-cross-origin

  1. Response HeadersView source

  2. Cache-Control:

max-age=0

  1. Connection:

keep-alive

  1. Content-Encoding:

gzip

  1. Content-Type:

text/html; charset=UTF-8

  1. Date:

Tue, 20 Dec 2022 18:01:01 GMT

  1. Expires:

Tue, 20 Dec 2022 18:01:01 GMT

  1. Server:

nginx

  1. Transfer-Encoding:

chunked

  1. Vary:

Accept-Encoding

I otice i am getting
this error
SERVER_PROTOCOL ERROR

Add data to SQL -.Failed to write /read from SQL.SQLSTATE[HY000] [1203] User epiz_33087480 already has more than ‘max_user_connections’ active connections

Fatal error : Uncaught Error: Call to undefined function Error() in /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_SQL.php:44 Stack trace: #0 /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_SQL.php(115): ReturnError(500, ‘Failed to write…’) #1 /home/vol1_2/epizy.com/epiz_33087480/htdocs/fetch_sql2.php(37): include(‘/home/vol1_2/ep…’) #2 /home/vol1_2/epizy.com/epiz_33087480/htdocs/fetch_sql2.php(42): get_include_contents(‘images/nowplayi…’) #3 {main} thrown in /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_SQL.php on line 44

even though i clear my $con=null could this be the reason

You want to put this there ?

image


Leave it for now, but first correct your HTML code

because I told you a long time ago that you have over 500 errors
only on that page (I’m not even mentioning the others),
because a lot of appearance depends on valid HTML code

use mouse right click → view source
copy the source and paste it here The W3C Markup Validation Service
and read how many errors you have (fix it !).


Btw. why do you keep opening new topics when after 10 minutes you have 20 additional questions that have nothing to do with the original question ?
Isn’t it better to have only one topic?

Don’t let your brain jump from topic to topic, from problem to problem - it is not effective.
Choose only one thing and stick to it (like correcting your HTML code - make it valid)
only after that start editing the layout and positioning the elements


Admin and I talked about this recently
because we noticed it on your website a long time ago
and the reason, of course, is again your code, which opens a separate connection every time you run a DB query, although you close the connection afterward, there are probably cases (some of your files) where this is not the case, or it happens by chance that you have several of them open due to poor design of the entire code.
A lot is happening - a lot depends on DB - a lot depends on various files (which have not been created but have yet to be created), statistics, geo images maps from google, base64 everywhere,chars correction validation, URL strings, query strings, XMLs, and so on…
And all this must be done every time you play a new song through radioBOSS soft.



I have to make a little joke: Wouldn't your life be much nicer and simpler if you deleted this folder on your computer ?

C:\Music & Video\

:joy:

6 Likes

@Oxy, thankyou have been working through these back to warnings except for these which i don’t understand as the errors seem to be in document and its not recognising my coding could you help please with these four errors as it makes no sense to me that these errors
https://validator.w3.org/nu/?showsource=yes&doc=http%3A%2F%2Fwww.deniserose.epizy.com%2Ffetch_sql2.php#cl31c100778

also how do i close the connection i was told here just to use $conn=null; in these new to me PDO commands

Wacky
Yes that is were I want it or in little fist icon either is fine

Hugs D

use the paste code option (in validator)
do not enter the address there
because that validator is blocked (all of you who use a free subdomain)

read

besides, don’t give to validator some your internal pages (urls) that does the internal work,
but only those pages that will be displayed to users.
what does the validator have to do with fetch SQL? nothing.

but ok, I don’t know your code well enough from the inside, so do what you want

5 Likes

Oxy its not using that URL at all, to access the web pages from my radio program over html its been totally written again not using URL form my radio program we ditch URL use. It worked for about 1.5 days then stopped working with this new coding with a daft error in the html area where it worked before saying ‘undefined’. This is getting silly you say its errors which it could be but it also seems when we write something it stops after 1.5 days is that normal on a free website no the other one was ok other than it had other problems, which am not going into here . I should point out on a plus the sql is working and its sending in data nicely at present until that mysteriously breaks down for no reason next!

I even backed up the working code by a FTP package and when this failed with this strange error uploaded the versions from my local drive . guess what they no longer worked!. Could you explain why when I brought them back in they did not do the same thing when they was backed up and just gave this nonsense message ‘undefined’ .

There must be something else that changed on your system which your not telling me …

Hugs D X

I am not being critical here just don’t understand. This is from a users perspective something has been changed to write for your site which at a later point doesn’t work even when reloaded from a back up. So please be patient with me and answer why?

sorry, I mixed something up
I didn’t know that this URL actually contains multiple parts (php files)

Don’t give PHP source code to validator, but generated HTML code !

4 Likes

Oxy, I am fed up the fetch_SQL and fetch_SQL latter is update both return same meaningless value ‘undefined’ the Google Debugger used to show page in its view from network activity fetch it now just shows code only The four errors in headers the validator show seem to be in the file so can make no head no sense out of it . Google Debugger shows no error on pages .

Error : The character encoding was not declared. Proceeding using windows-1252.
Error : Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>.
Error : Element head is missing a required instance of child element title.

file header from the latter file

<!DOCTYPE html>
<meta charset="windows-1252">.
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head title="flow music.">
<title>flow music.</title>
<link rel="stylesheet" href="music_now_playing.css">
<script src = 'js/prototype.js'></script>
<script src = 'js/fetch_updater.js'></script>
<script type="text/javascript">
function InitReload() {

     //new Ajax.PeriodicalUpdater('track_data', 'fetch_sql.php', {
	 // method: 'get', frequency: 10000, decay: 1});
}

Not a joke to late some nice person did remove that via a Windows boot command last week took out 242GB very nice of them

To me it seems more like your PC is infected with some RAT (remote access trojan).
Besides, how do you know that someone used the command prompt to delete directories on your pc?

4 Likes

getting it nearer http://www.deniserose.epizy.com/music_playing.php the other thing idk still waiting on answer from @admin

You should also test on lower resolutions (grab the right vertical edge of the browser and reduce the window size to the left)

Because as you can see, when it is less horizontal than 1300 the entire text is pushed under the image.

Delete or edit this line in the CSS code according to your needs


One of the ideas (which should be adopted) is to make also a miniature version (mobile-friendly website)

For example, visit this link
press play
and on the right, it will show you this button

click on it and you’ll understand what I’m talking about

4 Likes

I am getting fed up with coding issues nothing as it was and much has been lost even the w3 schools stuff does not work on your sight idk why

for example http://www.deniserose.epizy.com/fetch_sql2.php

echo '<td id="igap2"><div id="outer_img3"><img id="artwork"  width="35" height="35" class="artwork" alt="album" src="data:image/gif;base64,' . $base64artwork . '" </img></div>';
    echo '<div id="overlay"><img  src="images/SpectrumAnalyser.gif" width="30" height="15"></img></div></td>';


and http://www.deniserose.epizy.com/music_playing.php
 <div id='outer_img' class='outer_img'><img  src='images/nowplaying_artwork_2.png?t=<?php echo time();?>;' id='np_track_artwork' alt='Playing track artwork' ></div>
          <div id='overlay'><img  src="images/SpectrumAnalyser.gif" width="30" height="15"></img></div></td>

As the first does not work? Now neither does even more the audio controls don’t seem to register either

Is nothing stable on your site it doesn’t seem to work with anything for 1.5 hours then changes

I think this is why fetch I failing yet I am closing $con=null how can it be using more than one or two connection at most ?

try {

$conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);

$q = $conn->query($sql);

$i_count = $q->rowCount();

} catch (PDOException $pe) {

die("Error occurred:" . $pe->getMessage());

}

$conn = null;

1. Request URL:

http://www.deniserose.epizy.com/fetch_sql2.php

  2. Request Method:

GET

  3. Status Code:

500 Failed to write /read from SQL.SQLSTATE[HY000] [1203] User epiz_33087480 already has more than 'max_user_connections' active connections

  4. Remote Address:

185.27.134.150:80

  5. Referrer Policy:

strict-origin-when-cross-origin

1. Response HeadersView source

  1. Connection:

keep-alive

  2. Content-Type:

text/html; charset=UTF-8

  3. Date:

Thu, 22 Dec 2022 09:11:46 GMT

  4. Server:

nginx

  5. Transfer-Encoding:

chunked

2. Request HeadersView source

  1. Accept:

text/javascript, text/html, application/xml, text/xml, */*

  2. Accept-Encoding:

gzip, deflate

  3. Accept-Language:

en-GB,en-US;q=0.9,en;q=0.8

  4. Cache-Control:

no-cache

  5. Connection:

keep-alive

  6. Cookie:

_test=6e115e5362df5ab59656bdef8a3d164d; _ga=GA1.2.1049512228.1670761460; __gads=ID=4dbac2a3c84af722-22ca1f35d7d700cf:T=1670761461:RT=1670761461:S=ALNI_MYh1TR0fvCHN_hPVm_IuC9SgQWEhQ; __test=1fdfb273aa678c70e40cf7277f6b164e; _gid=GA1.2.1335419779.1671447514; __gpi=UID=00000ba838b2857f:T=1670761461:RT=1671690892:S=ALNI_MbXZ6MFlIIWT5zMopKFjoTCf8jX-w

  7. Host:

www.deniserose.epizy.com

  8. Pragma:

no-cache

  9. Referer:

http://www.deniserose.epizy.com/music_playing.php

  10. User-Agent:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

  11. X-Prototype-Version:

1.7.3

  12. X-Requested-With:

XMLHttpRequest

Looks very nice but i cant even keep one div where it is on the image were it was see above it on your site so that is an impossibility here out of my reach.

Also why is “MediaPlayer1” returning null.

var player = document.getElementById("MediaPlayer1");
if(player !== null) player.addEventListener("play", myFunction);
function myFunction() {
         var player = document.getElementById('overlay');
         player.innerHTML = '<img  id="#play" src="images/SpectrumAnalyser.gif" alt="analyser" width="48" height="48">';
    }

It seems like this is returning undentified
var player = document.getElementById(“MediaPlayer1”);

When

echo '<audio controls src = "onlineserver:27274/;" id="MediaPlayer1" autoplay="autoplay" ></audio>';

it seems to find id on DIVS and IMG but that is all ? how do you reference audio on page as object or get object for it please?

player.addEventListener(“play”, myFunction);

Can any one explain on this W3Schools page this method or function addEventListener(“play”, myFunction); is not listed or audio . As elsewhere on it pages it is

I do like the pop out box but I at get the control.js to function to select buttons at present its just not running am not sure what i am doing wrong but it doesn’t fire :slight_smile: maybe it something silly

image

Currently, that element is not clickable at all
and it would be better if it was next to the player itself


You complicated it there with many parameters and quotes

Why not just use this:

<div id="pop_out" class="pop_out" onclick="window.open('pop_out.php', '_blank');">

or use a button instead of a div (so that the cursor automatically changes to a finger, etc. when it is hovered)

<button id="pop_out" class="pop_out" onclick="window.open('pop_out.php', '_blank');"> img here etc. </button>

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.