-
Posts
288 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by OmerAslan
-
-
1 hour ago, web541 said:
Just confirming that those errors are mainly to do with the core/common/HubTransferData.class.php
Delete function should look like this now
public static function delete($id) { $sql = "DELETE FROM ".TABLE_PREFIX."hubtransfer WHERE pilotid = '$id'"; DB::query($sql); }
And the new CheckRequest function
public static function CheckRequest($pilotid) { $pilotid = intval($pilotid); $query = "SELECT * FROM ".TABLE_PREFIX."hubtransfer WHERE pilotid = '$pilotid'"; $count = DB::num_rows(DB::get_results($query)); return $count; }
Or if that last function doesn't work, try swapping out the DB::get_results for DB::get_row as I can't tell whether it is being used to get one or more results.
yes it works. only i get this code on admin page but not important at all...
Deprecated: mysql_affected_rows(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90 Warning: mysql_affected_rows(): Access denied for user 'pilotomeraslan'@'localhost' (using password: NO) in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90 Warning: mysql_affected_rows(): A link to the server could not be established in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90
woow totally fixed. Thanks.
-
24 minutes ago, web541 said:
Just confirming that those errors are mainly to do with the core/common/HubTransferData.class.php
Delete function should look like this now
public static function delete($id) { $sql = "DELETE FROM ".TABLE_PREFIX."hubtransfer WHERE pilotid = '$id'"; DB::query($sql); }
And the new CheckRequest function
public static function CheckRequest($pilotid) { $pilotid = intval($pilotid); $query = "SELECT * FROM ".TABLE_PREFIX."hubtransfer WHERE pilotid = '$pilotid'"; $count = DB::num_rows(DB::get_results($query)); return $count; }
Or if that last function doesn't work, try swapping out the DB::get_results for DB::get_row as I can't tell whether it is being used to get one or more results.
yes it works. only i get this code on admin page but not important at all... Thanks a lot.
Deprecated: mysql_affected_rows(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90 Warning: mysql_affected_rows(): Access denied for user 'pilotomeraslan'@'localhost' (using password: NO) in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90 Warning: mysql_affected_rows(): A link to the server could not be established in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90
-
1 hour ago, TAV1702 said:
That is the explanation. Those functions are garbage now. They are useless. Have ti step up to sqli or PDO one of the two.
If the last post I quoted don't fix this, the module file needs rewritten as was done for the LoA module that had the exact same issue.
On second thought, that last fix will not work. it is the same identical code that is in the file direct from github. I'm gonna get back on the side and wait for Sava. My skills are not that great and I don't want to stear anyone in the wrong direction.
So if i understand you correctly, we have to wait for a while right?
-
Ok tomorrow i will try to fix this by myself and let you know result. Thanks for your help...
-
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?
-
No thanks. I want to buy Austrian airlines schedules. If it's works for me then i will buy couple more.
-
when i recieve this i have to change aircraft names right? do you have all airlines schedules like this? and how can i buy it?
-
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
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
-
i see the codehare list details even in the database but i can not book it. strange...
-
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...
-
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=
-
well i am using fbsv11 for the flight booking is it the reason?
-
When i click to book flight button says no route passed?
-
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.
-
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.
-
Hi,
If it's not expensive then i would like to buy couple airlines schedules... But is it included route? And how it's work with fleet? If you have any sample...
-
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
-
17 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.
-
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
-
4 hours ago, Vangelis said:
wich phpvms version do you have ? and also what is your php version
phpVMS 5.5.2 , php version 5.6 my friend
-
ok then i will erase Thanks
-
I have .php version and when i change it i got
Fatal error: Call to undefined method SchedulesData::countCharterSchedules() in /home/pilotomeraslan/swissval.com/crew/core/templates/charter/ops_schedules.php on line 65
-
Hi,
I have those codes on front page :
Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 9 Warning: mysql_query(): Access denied for user 'pilotomeraslan'@'localhost' (using password: NO) in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 9 Warning: mysql_query(): A link to the server could not be established in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 9 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 10
and on admin page
Deprecated: mysql_affected_rows(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 86 Warning: mysql_affected_rows(): Access denied for user 'pilotomeraslan'@'localhost' (using password: NO) in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 86 Warning: mysql_affected_rows(): A link to the server could not be established in /home/pilotomeraslan/erisair.com/crew/core/common/HubTransferData.class.php on line 86 Deprecated: mysql_affected_rows(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90 Warning: mysql_affected_rows(): Access denied for user 'pilotomeraslan'@'localhost' (using password: NO) in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90 Warning: mysql_affected_rows(): A link to the server could not be established in /home/pilotomeraslan/erisair.com/crew/admin/modules/HubTransfer/HubTransfer.php on line 90
please help thanks.
-
On 02.12.2016 at 9:17 PM, OmerAslan said:
I have exactly same problem. How can i fix it please?
Any help?
ChartsData.class.php
in Support Forum
Posted
Yes now works good. Only i have to find the charts and add the links Thanks guys...