Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 ... 10
31
Templates & Styles (Releases & Support) / Re: [Template] Prodigy Responsive
« Last post by chamkani.net on October 17, 2023, 11:30:00 AM »
Have you tested this with 1.10?
Do you have an updated version of your theme?

Hello, i didn't tested, will try this month.
32
I'm quite busy at the moment and can't dive deep in to this problem here.
But as the error mentioned, the SQL Syntax is wrong.
mysqli_query(Object(mysqli), 'REPLACE INTO 4i...')
Is the wrong statement.
I can't see the details after "4i..." there must be something wrong.

Here you can check the syntax:
https://mariadb.com/kb/en/replace/

Btw. here in the case could it be wrong to user_level and user_name to ''. So check if it is really correct

What is happen, when you remove the fix for the variables? It is working then and just the warnings occur?
33
It was several pages, but I seem to have fixed it by declaring the varibales blank if not used, for example:
$user_info['user_level'] = isset($user_info['user_level']) ? $user_info['user_level'] : '';
$user_info['user_name'] = isset($user_info['user_name']) ? $user_info['user_name'] : '';
etc.

Everything seems to work fine except I'm not able to login. If I try to login from the admin panel I get this:
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' '', '')' at line 4 in C:\xampp\htdocs\4images\includes\db_mysqli.php:76 Stack trace: #0 C:\xampp\htdocs\4images\includes\db_mysqli.php(76): mysqli_query(Object(mysqli), 'REPLACE INTO 4i...') #1 C:\xampp\htdocs\4images\includes\sessions.php(138): Db->query('REPLACE INTO 4i...') #2 C:\xampp\htdocs\4images\includes\sessions.php(179): Session->start_session('1', 1) #3 C:\xampp\htdocs\4images\admin\admin_global.php(105): Session->login('Frankie', '4rtttyggh5757DD', 0, 0) #4 C:\xampp\htdocs\4images\admin\index.php(6): require('C:\\xampp\\htdocs...') #5 {main} thrown in C:\xampp\htdocs\4images\includes\db_mysqli.php on line 76

34
Hi,

Thanks for taking the time to share this!

It seems to work for the most part except i keep getting warnings:
Warning: Undefined array key "user_level"
Warning: Undefined array key "user_name"
etc.

Any thoughts on how to fix this?
Thanks

On which pages to get this warnings?  (see URL in browser).
35
Hi,

Thanks for taking the time to share this!

It seems to work for the most part except i keep getting warnings:
Warning: Undefined array key "user_level"
Warning: Undefined array key "user_name"
etc.

Any thoughts on how to fix this?
Thanks
36
Error Messages / Fehlermeldungen / Re: Unable to login or/and request new password
« Last post by Sunny C. on August 28, 2023, 10:27:00 AM »
The error message indicates that there is an issue with sending emails on your website. Let's go through the message step by step:

1. **Warning: fsockopen(): Unable to connect to localhost:25 (Connection refused) in /customers/.../4images/includes/email.php on line 184**: This part of the message indicates that a connection to "localhost" on port 25 (SMTP port) could not be established. The "Connection refused" error typically means that the server on the specified port is not reachable. In this case, the script is attempting to connect to the local email server to send emails, but the connection is being refused.

2. **Fatal error: Uncaught TypeError: fgets(): Argument #1 ($stream) must be of type resource, bool given in /customers/.../4images/includes/email.php:185**: Here, a fatal error is reported. The script is trying to call the `fgets` function, but the first parameter (`$stream`) should be of resource type (usually a file or network stream), but it's receiving `false` instead. This indicates that the connection to the email server was not successfully established, resulting in `false` being returned.

3. **Stack trace**: These lines show the call stack, which means which functions or parts of the code led to the error.

In summary:

- Your script is attempting to send an email via the local email server (SMTP) but is unable to establish a connection to the server on port 25.
- This results in a `false` value being returned when the script tries to call `fgets` to read data from the email server.
- Ultimately, this leads to a fatal error and the termination of the script.

Possible reasons for this issue could include:

- The local email server is not properly configured or running.
- Firewall or security settings may be blocking the connection on port 25.
- The SMTP server might require authentication or other configurations that are not set correctly.

To resolve the problem, you should:

1. Check the configuration of the email server that the script is trying to access.
2. Ensure that the email server is running correctly and listening on port 25.
3. Review firewall settings and network restrictions that could be blocking the connection.
4. Verify that the email libraries or classes you are using are properly configured and can handle the connection appropriately.

Please note that the exact solution will depend on the technologies you are using and the configuration of your environment.
37
Error Messages / Fehlermeldungen / Unable to login or/and request new password
« Last post by musicalcat on August 25, 2023, 02:32:25 PM »
Hello,

Edit: Solved in another way.
38
Templates & Styles (Releases & Support) / Re: [Template] Prodigy Responsive
« Last post by comicart on August 21, 2023, 05:20:26 AM »
Have you tested this with 1.10?
Do you have an updated version of your theme?
39
Installation, Update & Configuration / Re: Change host
« Last post by stefano54 on July 09, 2023, 05:41:24 PM »
Risolto.
Ok !!
40
Installation, Update & Configuration / Change host
« Last post by stefano54 on July 05, 2023, 02:01:36 PM »
Hello.
after host change the following error appears
how can i fix the error

Pages: 1 2 3 [4] 5 6 7 8 ... 10