Search results

  1. A

    Table function edit

    Here's the updated code : <table> <thead> <tr> <th><?php _e('Date', 'wc-lottery-pn') ?></th> <th><?php _e('Prenume', 'wc-lottery-pn') ?></th> <th><?php _e('Nume', 'wc-lottery-pn') ?></th> <?php if ($use_ticket_numbers === 'yes') : ?>...
  2. A

    Phpmyadmin error $cfg['TempDir'] (/tmp)

    Confirm the correct configuration file Verify PHP session directory permissions commands: sudo chown -R www-data:www-data /var/lib/php/sessions sudo chmod 770 /var/lib/php/sessions Check for SELinux or AppArmor Restart services disVerifyk space You can check the available disk space with the...
  3. A

    Is there something like phpmyadmin for postGreSQL that doesn't suck?

    If you're looking for an alternative to phpMyAdmin specifically for PostgreSQL, there are several options available that you can try: pgAdmin DBeaver Adminer Valentina Studio Navicat
  4. A

    The button does not send data to the database

    Here are a few things to check: Check if the form method and action are correct Verify if the connect.php file is included correctly check if the form inputs have a name attribute Ensure the ID field is correctly populated Verify if the SQL query is returning results Check for any error...
  5. A

    .user.ini inheritance problem

    Some steps to solve this include : Confirm PHP Settings Check IIS Configuration Virtual Directory Configuration Check PHP Handler Mapping Restart IIS By following these steps your problem should be solved.
  6. A

    SharePoint apps made with PHP

    I haven't used Sharepoint but my personal experience is with Devrims which was great and is still great. They provide the best Managed Hosting according to my personal experience I haven't seen more good hosting provider than them.
  7. A

    php session logout/login button

    Make sure you have session_start() at the beginning of all the pages where you want to use sessions. After a user successfully logs in, you should set a session variable to indicate that the user is logged in. For example:\ $_SESSION['username'] = 'user123'; // Set the session variable to the...
  8. A

    Not able to connect to the mysql server : attaching the log file below

    These errors indicate that the server cannot start because there is already another MySQL/MariaDB server running on port 3306. The server binds to that port, and if another process is already using it, the server cannot start. To fix this problem there are some steps first make sure that there...
  9. A

    Create REST API

    To add the condition for the session ID when the user is logged out, you can modify your code as follows: <?php // displaying errors faced ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); // call the database file include('includes/db.inc.php')...
  10. A

    Eclipse PHP problem to run

    Here are a few steps you can take to troubleshoot the issue: Verify XAMPP is running: Ensure that XAMPP is running properly and the Apache web server is up and running. You can check this by accessing http://localhost in your web browser and confirming that the XAMPP welcome page is displayed...
  11. A

    Event Stream handling

    1. Create an HTML file (e.g., sse.html) and place the following code inside it: <!DOCTYPE html> <html> <head> <title>Server-Sent Events Test</title> </head> <body> <script> var eventSource = new EventSource('sse.php'); eventSource.onmessage = function(event) { console.log('Received...
  12. A

    PHP Script or PHP Hosting problem?

    Check for your PHP Version if that is older then there may be problems regarding hosting. Update your PHP Version. Check if the Database is reliable or not and properly configure it. If you are using Shared Hosting or VPS Hosting you can change it to Managed PHP Hosting. If the problem still...
  13. A

    Where is the error in the CSS

    The issue in your code lies with the space between url and the opening parenthesis. In CSS, when specifying a URL for the background-image property, there should be no space between url and the opening parenthesis. Here's the corrected code: div.logo_div { height: 48px; width: 356px...
  14. A

    display inline problem

    To align two DIVs on the same line, one on the left side and one on the right side, you can use CSS flexbox or CSS floats. Here's an example using flexbox: <div class="container"> <div class="left-div"> <!-- Content for the left div --> </div> <div class="right-div"> <!-- Content...
  15. A

    <div> Full 100% width

    Make sure that the parent element of the <div class="content1"> has a width of 100% or a width that allows the <div> to expand to the right. If the parent element has a fixed width, it may limit the expansion of the <div>, Ensure that there are no conflicting styles or CSS resets applied to the...
  16. A

    Becoming a serious issue...

    Enable error logging in your PHP configuration (php.ini) by setting the error_reporting and display_errors, Ensure that the versions of PHP, MySQL Server, and Apache you're using are compatible with each other, n your php.ini file, check the extension_dir directive to make sure it points to the...
  17. A

    New to PEAR and PECL

    PEAR (PHP Extension and Application Repository) and PECL (PHP Extension Community Library) are package distribution systems for PHP, which allow you to easily install and manage reusable PHP components, libraries, and extensions.
  18. A

    receiving error on admin page "session start()"

    Based on the error message you provided and the code snippet you shared, there seems to be a problem with the file paths in your web hosting environment. This error indicates that the index.php file at the specified path cannot be found or accessed. When moving a website from localhost to a web...
  19. A

    PHP install goes bust during upgrade

    If you are experiencing difficulties connecting PHP 5.6 to MySQL 5.7, it might be due to deprecated database libraries and compatibility issues. In such cases, you have a few options: Uninstall and reinstall: You can try uninstalling the current PHP configuration and then reinstalling it...
  20. A

    Installed php PDT thru Eclipse install Software what Next

    to troubleshoot the issue you can try these steps: Verify that the MySQL service is running. Double-check the credentials (username, password, and database name) used in your PHP code to connect to MySQL. Ensure that the necessary PHP extensions (mysqli for MySQLi or pdo_mysql for PDO) are...
Back
Top