Ready to Explore a World of Stories?

Join Nircle Stories today and embark on a journey through captivating stories!

Sign Up Now

Author

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/tale_read_view.php

Line Number: 13

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/tale_read_view.php

Line Number: 13



A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/tale_read_view.php

Line Number: 31

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/tale_read_view.php

Line Number: 31










Author

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/tale_read_view.php

Line Number: 87

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/tale_read_view.php

Line Number: 87

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/tale_read_view.php

Line Number: 87


A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/tale_read_view.php

Line Number: 87

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/tale_read_view.php

Line Number: 87

0 Views |

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/tale_read_view.php

Line Number: 87

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/tale_read_view.php

Line Number: 87

https://elexxeaapp.com/ekt/collections/api/generic-media-uploader`; // Create FormData object const formData = new FormData(); // Add requestor_user_id field formData.append('app_access_token', aptok); formData.append('requestor_user_id', ); formData.append('action_type', 'dating_profile_media'); // Get file extension const fileExt = file.name.split('.').pop(); // Append file to FormData formData.append('userfile', file, `upload_new_file.${fileExt}`); try { const response = await fetch(serviceUrl, { method: 'POST', body: formData }); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return await response.json(); // or response.text() depending on your server response } catch (error) { console.error('Error uploading file:', error); throw error; } } function showLoader() { document.getElementById('loader').style.display = 'block'; } function hideLoader() { document.getElementById('loader').style.display = 'none'; } // Usage example // document.getElementById('fileInput').addEventListener('change', async (event) => { // const file = event.target.files[0]; // if (file) { // try { // const result = await genericFileUploader(file); // console.log('Upload successful:', result); // } catch (error) { // console.error('Upload failed:', error); // } // } // });