Bug (approved)

require_once(./pages/proj.inc.php) no such file or directory for company details

Summary

approved
Jan 9, 2007
100%
Jan 9, 2007 / madlyr
Sep 27, 2011 / guest
pixtur
 

Attached files

No files uploaded
 
When viewing company info, then the following error occurs:
Error 20070109120205 WARNING: pagescompany.inc.php : 652 require_once(./pages/proj.inc.php) [function.require-once]: failed to open stream: No such file or directory
Error 20070109120205  stdclass_pagehandler.inc.php : 731 -> companyView()
Error 20070109120205                     index.php : 351 -> PageHandler::show("companyView")
Error 20070109120205 
Error 20070109120205      Variables in companyView():
Error 20070109120205                            PH = OBJECT
Error 20070109120205                          auth = OBJECT
Error 20070109120205                g_replace_list = NULL
Error 20070109120205          g_wiki_auto_adjusted = NULL
Error 20070109120205                g_wiki_project = NULL
Error 20070109120205                            id = 2527
Error 20070109120205                       company = OBJECT
Error 20070109120205                          page = OBJECT
Error 20070109120205                         block = OBJECT
Error 20070109120205                          list = OBJECT
Error 20070109120205                       persons = Array
Error 20070109120205    v0.078, companyView, from 83.16.198.98,  uri:/index.php?go=companyView&company=2527
Error 20070109120205 


Issue report

Minor
Have not tried
aaa
bbb
ccc
 

2 Comments

pixtur:I split proj.inc.php...

11 years ago

Because this file grew too large and to allow overwriting the look of the project page () I split the file into:
  • pages/project_view.inc.php (which should only contain projView)
  • pages/project_more.inc.php (all other project related pages)
Obviously I missed those two imports. When looking that the code, I noticed that they were not required anyway :)

This should be fixed in rev250.


guest:

8 years ago - visible as suggested -

Well, I am so excited that I have found this your post because I have been searching for some information about it almost three hours. You helped me a lot indeed and reading this your article I have found many new and useful information about this subject.