Generating Error

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
montserat03
User
Posts: 32

Generating Error

Post by montserat03 »

Dear experts..

My projects running just fine.. However, I after I do the Synchronization..
I got this error when I try to generate the file...

Generating header.php...
Generating ewmenu.php...
Generating ewmenu2.php...
Generating footer.php...
Generating phpfn15.php...
TypeError: Cannot read property 'TblName' of undefined
at ewExphpfn (C:\Users\Bing\Documents\PHPMaker\Templates\php20190\cache\phpfn.js:1339:45)
at GenerateFile (C:\Program Files (x86)\PHPMaker 2019\node\node_modules\phpmaker\phpmaker.js:7:1699)
at GenerateAllFiles.e.map.e (C:\Program Files (x86)\PHPMaker 2019\node\node_modules\phpmaker\phpmaker.js:7:5564)
at Array.map (<anonymous>)
at GenerateAllFiles (C:\Program Files (x86)\PHPMaker 2019\node\node_modules\phpmaker\phpmaker.js:7:5544)
at Object.<anonymous> (C:\Users\Bing\Documents\PHPMaker\Templates\php20190\cache\kingkong2019.js:83:1)
at Module.compile (internal/modules/cjs/loader.js:688:30)
at Object.Module.
extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)

Can someone help..?

thank u


arbei
User
Posts: 9414

Post by arbei »

montserat03 wrote:
TypeError: Cannot read property 'TblName' of undefined
at ewExphpfn

That usually means a table is not found. If you have removed or renamed a table, sync your project with your database first.

Since it is in phpfn.php, make sure you have set up the user table properly if you have enabled "Use Existing Table" in the "Security" tab.


Post Reply