Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - strixs

1
Issues / Re: PHP error pagination
Hi Just some feedback: I deleted the exciting folder and create a new with the same name. That solved the problem for me.
2
Issues / PHP error pagination
Hi i am getting some error's on my page when the site is published on my local host. Any ideas how I can solve this? Thanks!



( ! ) Notice: Undefined property: Pagination::$route in D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\libs\Pagination.php on line 107
Call Stack
#   Time   Memory   Function   Location
1   0.0000   408928   {main}( )   ...\index.php:0
2   0.0005   424048   Router->init( )   ...\index.php:100
3   0.0005   424168   Router->run( )   ...\Router.php:94
4   0.0006   431928   VoorraadController->index( )   ...\Router.php:205
5   0.0111   494368   BaseView->render( )   ...\VoorraadController.php:51
6   0.0112   494848   include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\layouts\main_layout.php' )   ...\BaseView.php:206
7   0.0116   496840   BaseView->render_body( )   ...\main_layout.php:60
8   0.0116   498536   include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\partials\voorraad\list.php' )   ...\BaseView.php:242
9   0.0119   509224   Pagination->render( )   ...\list.php:342

( ! ) Notice: Trying to get property 'request' of non-object in D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\libs\Pagination.php on line 107
Call Stack
#   Time   Memory   Function   Location
1   0.0000   408928   {main}( )   ...\index.php:0
2   0.0005   424048   Router->init( )   ...\index.php:100
3   0.0005   424168   Router->run( )   ...\Router.php:94
4   0.0006   431928   VoorraadController->index( )   ...\Router.php:205
5   0.0111   494368   BaseView->render( )   ...\VoorraadController.php:51
6   0.0112   494848   include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\layouts\main_layout.php' )   ...\BaseView.php:206
7   0.0116   496840   BaseView->render_body( )   ...\main_layout.php:60
8   0.0116   498536   include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\partials\voorraad\list.php' )   ...\BaseView.php:242
9   0.0119   509224   Pagination->render( )   ...\list.php:342
( ! ) Notice: Undefined property: Pagination::$route in D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\libs\Pagination.php on line 95 Call Stack #TimeMemoryFunctionLocation 10.0000408928{main}( )...\index.php:0 20.0005424048Router->init( )...\index.php:100 30.0005424168Router->run( )...\Router.php:94 40.0006431928VoorraadController->index( )...\Router.php:205 50.0111494368BaseView->render( )...\VoorraadController.php:51 60.0112494848include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\layouts\main_layout.php' )...\BaseView.php:206 70.0116496840BaseView->render_body( )...\main_layout.php:60 80.0116498536include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\partials\voorraad\list.php' )...\BaseView.php:242 90.0119509224Pagination->render( )...\list.php:342 100.1011509880Pagination->set_link( )...\Pagination.php:136
( ! ) Notice: Trying to get property 'page_url' of non-object in D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\libs\Pagination.php on line 95
Call Stack
#   Time   Memory   Function   Location
1   0.0000   408928   {main}( )   ...\index.php:0
2   0.0005   424048   Router->init( )   ...\index.php:100
3   0.0005   424168   Router->run( )   ...\Router.php:94
4   0.0006   431928   VoorraadController->index( )   ...\Router.php:205
5   0.0111   494368   BaseView->render( )   ...\VoorraadController.php:51
6   0.0112   494848   include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\layouts\main_layout.php' )   ...\BaseView.php:206
7   0.0116   496840   BaseView->render_body( )   ...\main_layout.php:60
8   0.0116   498536   include( 'D:\Dropbox\Dropbox\_Menno_16-\WAMP\www\macht\app\views\partials\voorraad\list.php' )   ...\BaseView.php:242
9   0.0119   509224   Pagination->render( )   ...\list.php:342
10   0.1011   509880   Pagination->set_link( )   ...\Pagination.php:136
http://localhost/macht/voorraad" method="get">
[html-lang-0088] : 2 [html-lang-0126] 2
4
Questions / Multi Select and insert in DB
Hi,

I am researching if PHPRad is a tool I can use for my clients. Till so far I am very pleased with the results. I have one question do. I can't seem to find a well explanation on how to implement multi select in a way that that It will be stored correct in the database.

For instance I have the following tables:

| id | vehicle |
| 1  | Car A   |
| 2  | Car B   |

For obvious reasons , I want to add more than one part to the car with the following table withe a foreign key like:

| id | part     | id_car |
| 1  |  wheel | 1        |
| 2  |  break | 1        |

I know how to do it by coding by hand, but I was wondering if there is a way to do it in PHPRad, There is a option to make a multi select box in the add view but I can not get it to work. I there am tutorial on this issue? I only can find one to one relation tutorials.

thanx,
Gr Strixs