Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6688813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:26:48+00:00 2026-05-26T05:26:48+00:00

A little background, I have a client that has a legacy php site that

  • 0

A little background, I have a client that has a legacy php site that has been converted to python/django in the last 12 months. However they are still using the php site while phasing it out. Some new data is gathered in the old system and database structure from users still, but the clients would like it also to be available on the new site, which means inserting another mysql insert statement into the php code to write to the new site’s database.

So the issue is the php developer is gone and not reachable. Also the code is a mess with multiple versions of each php file in multiple directories, zero version control. So I can find the code fragment that writes to the database, however it is in over 20 places. What I would love to be able to do is something comparable to the django, insert an ‘assert Error’ line in the form code upon POST and see the django error report traceback page, but this is php. So what are my best options here? Remember I am a python developer first and a php hack at best. Is there anything built into php that would allow me to see some type of traceback without too much hacking?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:26:49+00:00Added an answer on May 26, 2026 at 5:26 am

    If the MySQL server is version >= 5.0.2 then you could use triggers to keep the data up to date on the new site. That may prove easier than digging through all the PHP code (which you suggested you’re not comfortable with).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First, a little background: We have an intranet site based on WSS 3.0 that
First a little background: I have an Event model that has various event_type s.
So, I've built a little site for a client that doesn't seem to have
First, a little background. I have strings that resemble the following: ((Foo.Bar.StartsWith(A)) && (Foo.Bar.EndsWith(B)))
First, a little background. I have two ASP.NET web applications that use SQLServer session
A little background information: I have a table called table_a , which has 12
Edit: A little background on this. We have a module that accepts 6 different
Background: I have a little video playing app with a UI inspired by the
I have a strong database background but very little practical experience with ms sql
A little background first. I've been tasked with encrypting files with a Powershell script

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.