Problem with neophp erase - Forum

Forum Navigation
You need to log in to create posts and topics.

Problem with neophp erase

Hi there,

 

When I'm trying to erase a file form host with this code:

 

 

neoPhpSetPath "/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/neofunctions.php"

neoPhpFileErase "/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/[accounting_no]_5bargi.jpg" ""

 

Browser gives this error:

 

Fatal error: Uncaught Error: Call to undefined function checkMaxFileUserLevel() in /home/h292474/domains/saferoom.tickabi.com/public_html/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/neofunctions.php:786 Stack trace: #0 /home/h292474/domains/saferoom.tickabi.com/public_html/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/neofunctions.php(98): fileerase() #1 {main} thrown in /home/h292474/domains/saferoom.tickabi.com/public_html/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/neofunctions.php on line 786

@tilesoft what's your config.php content?

You removed or focus to the quotes ("")

Initial variables cannot be marked or assigned.

neoPhpFileErase "/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/[accounting_no]_5bargi.jpg" ""

It should be :

neoPhpFileErase "/xX6ED5vkiSB19796D0MHw1/accounting/FRAtP92eFlWz9UC4R9moLs/[accounting_no]_5bargi.jpg" "[accounting_no]"