Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Move File to Sub Directory

phpMyEdit Configuration     Move File to Sub Directory
Odoslať novú tému   Odpovedať na tému    
 
guardian46     Založený: 31.05.2005   Príspevky: 34  
Príspevok Zaslal: 2017-04-01 19:27
Návrat hore  Odpovedať s citátom     

I want to move some of the phpMyEditSetup created files (*.php) to a sub directory below my web server's root. When I do this the ADD, CHANGE, VIEW, DELETE, etc., stops working. The error message is 'file not found' and indicates it is still looking in the ./ directory for the file.

Anyone know how to fix this??

Thanks.

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2017-04-01 19:55
Návrat hore  Odpovedať s citátom     

Move all files and directories (not just the scripts created by the calling program).

 
guardian46     Založený: 31.05.2005   Príspevky: 34  
Príspevok Zaslal: 2017-04-01 20:55
Návrat hore  Odpovedať s citátom     

doug Napísal:
Move all files and directories (not just the scripts created by the calling program).


Hi Doug,
Thanks for the quick reply.

I did make a copy of my pme dir into the sub dir, but still have the same problem.
My root directory:
    index.html
    authors.php (pme generated script file)
    Kód:
    require_once 'pme/phpMyEdit.class.php';
    new phpMyEdit($opts);
    pme/phpMyEdit.class.php
    pme/(all the included dirs - doc, ext, html, images, lang)


My sub dir:

    stories/featured/storylist.php (generated script file)
    Kód:
    require_once 'pme/phpMyEdit.class.php';
    new phpMyEdit($opts);
    stories/featured/pme/phpMyEdit.class.php
    stories/featured/pme/(all the included dirs - doc, ext, html, images, lang)


Works in the root directory, but in the sub directory the table is generated but the functions (add, change, delete, etc.) still tries to find the file in the root (./).
I did try this in the sub dir file:
Kód:
require_once 'stories/featured/pme/phpMyEdit.class.php';
new phpMyEdit($opts);

(used the stories/featured/pme/phpMyEditSetup.php)

Note: my html header includes this (its a private server):
Kód:
<base href="http://192.168.5.4">


 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2017-04-01 23:38
Návrat hore  Odpovedať s citátom     

I don't recall anyone else ever having this issue. Check the server (Apache?) error log, PHP error log file, etc.

I'd start over. Make a new directory, extract files to that directory, make a new calling script, see what happens.

 
guardian46     Založený: 31.05.2005   Príspevky: 34  
Príspevok Zaslal: 2017-04-01 23:56
Návrat hore  Odpovedať s citátom     

Do you think the problem may be because I have two PME directories? (one a root level and a second one at the sub level dir)

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov