All web pages return http 500 not sure why

It works
http://viena.lovestoblog.com/imgEdit/r3.php

click imgClickMe then Process.
need to add timer to check onchange.
see you at fifa football time again tonight. :slight_smile:

Hi Edwin hmm , not with my code its still not forcing the upload of image through PHP fopen( either
Am still noticing things like strlen( and other ‘c’ derivatives don’t work in php either its most odd

The only thing i have is from here a warning

  1. Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform

  2. A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.

To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

Note that for performance reasons, only the first access to one of the properties is shown.

  1. AFFECTED RESOURCES
1. 1 source

  1. prototype.js:1
    • Learn more: User-Agent String Reduction

Google Chrome seems to be going through some depreciation again I fixed this last time by going from Navigator.AppAgent to Navigator.userAgentData but it seems we are loosing that too maybe ? There is not much information currently about this new issue is there any information out there as this prototype.js file is no longer being updated from 1.7.3 that i have located ?

One other thing to note when i refresh my website it does not bring in current image any more http://www.deniserose.epizy.com/music_now_playing.php

oddly if i delete the image

Then refresh page it still stays there

What on earth is going on ?

1 Like

I’m pretty sure that this is what’s going on:

Also, please don’t discuss the same issue in multiple topics, because (as you’re seeing here) it’s very easy for important information to get lost and waste everyone’s time.

Please pick one topic to discuss this issue and keep all the talk in that topic.

4 Likes

iwas using “<img id=#np_track_artwork src=/images/nowplaying_artwork_2.png?t=”+$time+" alt=‘Playing track artwork’ width=200 height=200>" do you suggest i try with version not t?

No, that should be fine.

Are the images still not being updated with the time suffix?

2 Likes

Admin yes the refresh on the page has time stamp too.

Wacky I cant write all images to disk on fly as the website is currently not letting my fwrite( from php so am stuck trying to blob them

Here it is. Maybe can activate it. or replace with basic ajax timer. because the reverse probs. Need to findout handler for image base64.

its activated and fires the fetch wacky and Edwin but doesn’t get base64 data back from images so does nothing

1 Like

am now getting this
Notice : Undefined variable: servername in /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_artist_div2.php on line 103

Notice : Undefined variable: dbname in /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_artist_div2.php on line 103

Notice : Undefined variable: username in /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_artist_div2.php on line 103

Notice : Undefined variable: password in /home/vol1_2/epizy.com/epiz_33087480/htdocs/create_artist_div2.php on line 103

for

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

I focused to get base64 first.
so i do myway get decay func.

here it is looks like decay on old javascript:

https://viena.lovestoblog.com/imgEdit/timer.php

You need to define it then.
before line 103 define thoze 4 params variables.

    $servername = 'xxxxxx';
    $dbname = 'xxxxxx';
    $username = 'xxxxxx';
    $password = 'xxxxxx';

I don’t know what you are suggesting @EdwinTigor , but you are messing things up that were working originally.

@anon14276620, I would put your SQL code back the way you had it before. Then, since you have completely lost me, please paste your code, and any error messages you have, here.

Thanks

3 Likes

she dont get her img base64 string.
she cannot saving data. or she can but no data str64 to saved to.

Am also getting Error occurred:SQLSTATE[HY000] [1203] User epiz_33087480 already has more than ‘max_user_connections’ active connections with $con=NULL is this not closing connection please in PDO?

Been working here http://www.deniserose.epizy.com/my-music/
As the fetch doesnt work as it not getting base64 from images.

Hugs

Hi Green

Yes it won’t read my image base64 from here js/fetch_updater.js commented out line which didnt work in below

const toDataURL = url => fetch(url)
  .then(response => response.blob())
  .then(blob => new Promise((resolve, reject) => {
    const reader = new FileReader()
    reader.onloadend = () => resolve(reader.result)
    reader.onerror = reject
    reader.readAsDataURL(blob)
  }))

var image = document.createElement("#img999");
    image.src = 'http://www.deniserose.epizy.com/images/nowplaying_artwork_2.png';

    var base64file1;
    var base64file1 = $("img999").attr("src");
    /*toDataURL("/images/nowplaying_artwork_2.png", function(data) {
        then(dataUrl => console.log('RESULT:', dataUrl));
        base64file1 = dataUrl;
        });
    */
    image.remove();
    //base64file1 = base64_encode(base64file1);
    //var base64file2 =  document.getElementById("outer_img").GetElementsById("np_track_artwork").src.data;
    //var base64file2 = $("img#np_track_artwork").attr("src", "data:image/png;base64,"+data);
    
    var base64file2 = $("#np_track_artwork").attr("src");
1 Like

I saw the post is solved “max_user_connections” pdo:

Yes Edwin what s the correct way to close PDO as it has no $con->close