LuisMoraes132 Posted October 25, 2016 Report Posted October 25, 2016 then friend link is down. You can pass correct link? or help me? this page down or inesxitente file. Quote
ShrikarG Posted October 26, 2016 Report Posted October 26, 2016 then friend link is down. You can pass correct link? or help me? this page down or inesxitente file. Try this : https://github.com/Strider2/codeshare Quote
Strider Posted October 26, 2016 Author Report Posted October 26, 2016 I edited my post, for some reason it thought the you was part of the link. It now works. Quote
LuisMoraes132 Posted October 26, 2016 Report Posted October 26, 2016 still continued receiving the same error friend. public_html/ava//admin/templates/codeshare/codeshare_index.php.tpl" doesn't exist in public_html/ava/core/classes/TemplateSet.class.php on line 248 Quote
Strider Posted October 26, 2016 Author Report Posted October 26, 2016 Make sure you remove the old module and upload the new. Or delete your cookies and refresh, as it could be going off a cached version. Quote
LuisMoraes132 Posted October 26, 2016 Report Posted October 26, 2016 did cleaning the cookies, I removed the old module and redid uploud the new module. but still with the same error friend. Quote
LuisMoraes132 Posted October 26, 2016 Report Posted October 26, 2016 hello after some hours editing could fix, however the options to add codershare not appear. Quote
Strider Posted October 26, 2016 Author Report Posted October 26, 2016 Do you have permission to add? It is restricted by what permissions have been set for different staff members. Quote
LuisMoraes132 Posted October 27, 2016 Report Posted October 27, 2016 but given all permissions, I am staff too. all have access. Quote
Strider Posted October 27, 2016 Author Report Posted October 27, 2016 See if you have an error_log in the server and open it see what it says inside it. Quote
OmerAslan Posted December 18, 2016 Report Posted December 18, 2016 Hi idon't know what did i do wrong but i add schedule id from my database flight id number and i add airlines icao code but i get this error. i have phpVMS 5.5.2 Help please Quote
OmerAslan Posted December 18, 2016 Report Posted December 18, 2016 17 minutes ago, OmerAslan said: Hi idon't know what did i do wrong but i add schedule id from my database flight id number and i add airlines icao code but i get this error. i have phpVMS 5.5.2 Help please i fixed with add logo. If i leave that place empty then i get the error. On schedules list i can't see the image but it's minor problem for me. Quote
OmerAslan Posted December 18, 2016 Report Posted December 18, 2016 40 minutes ago, OmerAslan said: i fixed with add logo. If i leave that place empty then i get the error. On schedules list i can't see the image but it's minor problem for me. Deprecated: Non-static method CodeShareData::save_new_codeshare() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/erisair.com/crew/admin/modules/CodeShare_admin/CodeShare_admin.php on line 66 Quote
web541 Posted December 18, 2016 Report Posted December 18, 2016 4 hours ago, OmerAslan said: Deprecated: Non-static method CodeShareData::save_new_codeshare() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/erisair.com/crew/admin/modules/CodeShare_admin/CodeShare_admin.php on line 66 What version of phpvms are you running? Did you download this version? It should have been fixed already. Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 3 hours ago, web541 said: What version of phpvms are you running? Did you download this version? It should have been fixed already. Ok i upload this files. No error code but i can't add pictures. When i put logo adress not taking it. Quote
web541 Posted December 19, 2016 Report Posted December 19, 2016 17 minutes ago, OmerAslan said: Ok i upload this files. No error code but i can't add pictures. When i put logo adress not taking it. Yeah that's an error, doesn't load it in, try this one. 1 Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 10 minutes ago, web541 said: Yeah that's an error, doesn't load it in, try this one. Now it's works. Thanks my friend. Quote
web541 Posted December 19, 2016 Report Posted December 19, 2016 Just now, OmerAslan said: Now it's works. Thanks my friend. Does everything work? (adding, editing, etc.) if so, I'll make a pull request to the master Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 When i click to book flight button says no route passed? Quote
web541 Posted December 19, 2016 Report Posted December 19, 2016 3 minutes ago, OmerAslan said: When i click to book flight button says no route passed? did it do that before? Check your browser console. Works for me on the crystal skin. Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 well i am using fbsv11 for the flight booking is it the reason? Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 7 minutes ago, OmerAslan said: well i am using fbsv11 for the flight booking is it the reason? It's nor reading bid id for some reason www.domain/..../schedules/addbid?id= Quote
web541 Posted December 19, 2016 Report Posted December 19, 2016 2 minutes ago, OmerAslan said: It's nor reading bid id for some reason www.domain/..../schedules/addbid?id= That's different, open a new topic for this, but if you book through /index.php/codeshare then does it work? Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 2 minutes ago, web541 said: That's different, open a new topic for this, but if you book through /index.php/codeshare then does it work? no also not working. i was booking flight before you made last changes. but not anymore... Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 i see the codehare list details even in the database but i can not book it. strange... Quote
web541 Posted December 19, 2016 Report Posted December 19, 2016 1 minute ago, OmerAslan said: no also not working. i was booking flight before you made last changes. but not anymore... Check your browser console for any errors first. Ok, go download this version again, https://github.com/Strider2/codeshare To make the image url changes And core/common/CodeShareData.class.php Find this $query = "INSERT INTO phpvms_codeshares (schedid, airline) VALUES ('$schedid', '$airline')"; Replace it with this $query = "INSERT INTO phpvms_codeshares (schedid, airline, image) VALUES ('$schedid', '$airline', '$image')"; Find this $query = "UPDATE phpvms_codeshares SET schedid='$schedid', airline='$airline' WHERE id='$id'"; Replace it with this $query = "UPDATE phpvms_codeshares SET schedid='$schedid', airline='$airline', image='$image', WHERE id='$id'"; Find this public static function save_new_codeshare($schedid, $airline) Replace it with this public static function save_new_codeshare($schedid, $airline, $image) Find this public static function save_edit_codeshare($schedid, $airline, $id) Replace it with this public static function save_edit_codeshare($schedid, $airline, $id, $image) Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 11 minutes ago, web541 said: Check your browser console for any errors first. Ok, go download this version again, https://github.com/Strider2/codeshare To make the image url changes Reveal hidden contents And core/common/CodeShareData.class.php Find this $query = "INSERT INTO phpvms_codeshares (schedid, airline) VALUES ('$schedid', '$airline')"; Replace it with this $query = "INSERT INTO phpvms_codeshares (schedid, airline, image) VALUES ('$schedid', '$airline', '$image')"; Find this $query = "UPDATE phpvms_codeshares SET schedid='$schedid', airline='$airline' WHERE id='$id'"; Replace it with this $query = "UPDATE phpvms_codeshares SET schedid='$schedid', airline='$airline', image='$image', WHERE id='$id'"; Find this public static function save_new_codeshare($schedid, $airline) Replace it with this public static function save_new_codeshare($schedid, $airline, $image) Find this public static function save_edit_codeshare($schedid, $airline, $id) Replace it with this public static function save_edit_codeshare($schedid, $airline, $id, $image) When i click to add bid from regular hoes here : www...../....../schedules/addbid?id=8608 when i click book flight button from codeshare module takes me www...../....../schedules/addbid?id=8608 Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 This is my error log [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'css' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'css' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'assets' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'css' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'css' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'assets' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'assets' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'css' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 [19-Dec-2016 11:18:46 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'css' in /home/pilotomeraslan/erisair.com/crew/core/classes/MainController.class.php on line 218 any luck? Quote
Strider Posted December 19, 2016 Author Report Posted December 19, 2016 Those errors look to be comeong from somewhere else and not the codeshare module. Usually what causes the add to bid button to not work is a javascript file in the wrong place. Quote
OmerAslan Posted December 19, 2016 Report Posted December 19, 2016 Ok tomorrow i will try to fix this by myself and let you know result. Thanks for your help... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.